Open virgilwjj opened 2 years ago
My code always to use temp mat4x4 in python scope, and I always to type below code:
m = ti.Matrix([ [1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0], ])
ti.Matrix.Identity(), only be allowed to use in taichi scope. 😠ones(), zeros() also.
Hi, could you be more specific about your use case a bit? Initialize matrices within Python, doing matrix computations?
My code always to use temp mat4x4 in python scope, and I always to type below code:
ti.Matrix.Identity(), only be allowed to use in taichi scope. 😠ones(), zeros() also.