This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+8
@@ -0,0 +1,8 @@
|
||||
def transform_size[dim: Int]() -> Int:
|
||||
# a dim x dim transform matrix has dim * dim entries
|
||||
return dim * dim
|
||||
|
||||
|
||||
def main():
|
||||
var dim = 8
|
||||
print("matrix entries:", transform_size[dim]())
|
||||
Reference in new issue
Block a user