Public Member Functions | |
Matrix2i64 | __add__ (self, Matrix2i64 b) |
bool | __eq__ (self, Matrix2i64 b) |
Vector2i64 | __getitem__ (self, int row) |
Vector2i64 | __getitem__ (self, int row) |
Matrix2i64 | __iadd__ (self, Matrix2i64 b) |
Matrix2i64 | __imatmul__ (self, int b) |
None | __init__ (self) |
None | __init__ (self, Vector2i64 x, Vector2i64 y) |
Matrix2i64 | __isub__ (self, Matrix2i64 b) |
Matrix2i64 | __itruediv__ (self, int b) |
Matrix2i64 | __mul__ (self, int a) |
Vector2i64 | __mul__ (self, Vector2i64 b) |
Matrix2i64 | __mul__ (self, Matrix2i64 b) |
bool | __ne__ (self, Matrix2i64 b) |
Matrix2i64 | __rmul__ (self, int b) |
None | __setitem__ (self, int arg0, Vector2i64 arg1) |
Matrix2i64 | __sub__ (self, Matrix2i64 b) |
Matrix2i64 | __truediv__ (self, int a) |
Vector2i64 | col (self, int i) |
int | det (self) |
float | norm (self) |
int | normSq (self) |
int | trace (self) |
Matrix2i64 | transposed (self) |
Vector2i64 | x (self) |
None | x (self, Vector2i64 arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Matrix2i64 | fromColumns (Vector2i64 x, Vector2i64 y) |
Matrix2i64 | fromRows (Vector2i64 x, Vector2i64 y) |
Matrix2i64 | identity () |
Matrix2i64 | operator (*args, **kwargs) |
Matrix2i64 | operator (*args, **kwargs) |
Matrix2i64 | scale (int s) |
Matrix2i64 | scale (int sx, int sy) |
Matrix2i64 | scale (Vector2i64 s) |
Matrix2i64 | zero () |
Static Protected Attributes | |
typing | _offsetof_x = 0 |
typing | _offsetof_y = 16 |
Generated from: MR::Matrix2i64 Aliases: Vector2_long_MatrixType arbitrary 2x2 matrix
|
static |
None mrmeshpy.Matrix2i64.__init__ | ( | self | ) |
None mrmeshpy.Matrix2i64.__init__ | ( | self, | |
Vector2i64 | x, | ||
Vector2i64 | y ) |
initializes matrix from its 2 rows
Matrix2i64 mrmeshpy.Matrix2i64.__add__ | ( | self, | |
Matrix2i64 | b ) |
NOTE: We use `std::declval()` in the operators below because libclang 18 in our binding generator is bugged and chokes on decltyping `a.x` and such. TODO fix this when we update libclang.
bool mrmeshpy.Matrix2i64.__eq__ | ( | self, | |
Matrix2i64 | b ) |
Vector2i64 mrmeshpy.Matrix2i64.__getitem__ | ( | self, | |
int | row ) |
row access
Vector2i64 mrmeshpy.Matrix2i64.__getitem__ | ( | self, | |
int | row ) |
Matrix2i64 mrmeshpy.Matrix2i64.__iadd__ | ( | self, | |
Matrix2i64 | b ) |
Matrix2i64 mrmeshpy.Matrix2i64.__imatmul__ | ( | self, | |
int | b ) |
Matrix2i64 mrmeshpy.Matrix2i64.__isub__ | ( | self, | |
Matrix2i64 | b ) |
Matrix2i64 mrmeshpy.Matrix2i64.__itruediv__ | ( | self, | |
int | b ) |
Matrix2i64 mrmeshpy.Matrix2i64.__mul__ | ( | self, | |
int | a ) |
Matrix2i64 mrmeshpy.Matrix2i64.__mul__ | ( | self, | |
Matrix2i64 | b ) |
product of two matrices
Vector2i64 mrmeshpy.Matrix2i64.__mul__ | ( | self, | |
Vector2i64 | b ) |
x = a * b
bool mrmeshpy.Matrix2i64.__ne__ | ( | self, | |
Matrix2i64 | b ) |
Matrix2i64 mrmeshpy.Matrix2i64.__rmul__ | ( | self, | |
int | b ) |
None mrmeshpy.Matrix2i64.__setitem__ | ( | self, | |
int | arg0, | ||
Vector2i64 | arg1 ) |
Matrix2i64 mrmeshpy.Matrix2i64.__sub__ | ( | self, | |
Matrix2i64 | b ) |
Matrix2i64 mrmeshpy.Matrix2i64.__truediv__ | ( | self, | |
int | a ) |
Vector2i64 mrmeshpy.Matrix2i64.col | ( | self, | |
int | i ) |
column access
int mrmeshpy.Matrix2i64.det | ( | self | ) |
computes determinant of the matrix
|
static |
constructs a matrix from its 2 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY ) into vectors ( x, y ) respectively
|
static |
constructs a matrix from its 2 rows
|
static |
float mrmeshpy.Matrix2i64.norm | ( | self | ) |
int mrmeshpy.Matrix2i64.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
|
static |
|
static |
returns a matrix that scales uniformly
|
static |
returns a matrix that has its own scale along each axis
|
static |
int mrmeshpy.Matrix2i64.trace | ( | self | ) |
computes trace of the matrix
Matrix2i64 mrmeshpy.Matrix2i64.transposed | ( | self | ) |
computes transposed matrix
Vector2i64 mrmeshpy.Matrix2i64.x | ( | self | ) |
rows, identity matrix by default
None mrmeshpy.Matrix2i64.x | ( | self, | |
Vector2i64 | arg1 ) |
|
static |
|
staticprotected |
|
staticprotected |