Public Member Functions | |
Matrix2i | __iadd__ (self, Matrix2i b) |
Matrix2i | __imatmul__ (self, int b) |
None | __init__ (self) |
None | __init__ (self, Vector2i x, Vector2i y) |
None | __init__ (self, Matrix2i arg0) |
Matrix2i | __isub__ (self, Matrix2i b) |
Matrix2i | __itruediv__ (self, int b) |
Vector2i | col (self, int i) |
int | det (self) |
float | norm (self) |
int | normSq (self) |
int | trace (self) |
Matrix2i | transposed (self) |
Vector2i | x (self) |
None | x (self, Vector2i arg1) |
Static Public Member Functions | |
Matrix2i | fromColumns (Vector2i x, Vector2i y) |
Matrix2i | fromRows (Vector2i x, Vector2i y) |
Matrix2i | identity () |
Matrix2i | scale (int s) |
Matrix2i | scale (int sx, int sy) |
Matrix2i | scale (Vector2i s) |
Matrix2i | zero () |
Protected Member Functions | |
Vector2i | _Subscript (self, int row) |
Vector2i | _Subscript (self, int row) |
Generated from: MR::Matrix2i Aliases: Vector2_int_MatrixType, Matrix2_int, Matrix2_int arbitrary 2x2 matrix \\ingroup MatrixGroup
None meshlib.mrmeshpy.Matrix2i.__init__ | ( | self | ) |
initializes matrix from its 2 rows
None meshlib.mrmeshpy.Matrix2i.__init__ | ( | self, | |
Matrix2i | arg0 ) |
Implicit copy constructor.
Matrix2i meshlib.mrmeshpy.Matrix2i.__imatmul__ | ( | self, | |
int | b ) |
Matrix2i meshlib.mrmeshpy.Matrix2i.__itruediv__ | ( | self, | |
int | b ) |
|
protected |
row access
|
protected |
Vector2i meshlib.mrmeshpy.Matrix2i.col | ( | self, | |
int | i ) |
column access
int meshlib.mrmeshpy.Matrix2i.det | ( | self | ) |
computes determinant of the matrix
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
constructs a matrix from its 2 rows
|
static |
float meshlib.mrmeshpy.Matrix2i.norm | ( | self | ) |
int meshlib.mrmeshpy.Matrix2i.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
returns a matrix that scales uniformly
|
static |
returns a matrix that has its own scale along each axis
int meshlib.mrmeshpy.Matrix2i.trace | ( | self | ) |
computes trace of the matrix
Matrix2i meshlib.mrmeshpy.Matrix2i.transposed | ( | self | ) |
computes transposed matrix
Vector2i meshlib.mrmeshpy.Matrix2i.x | ( | self | ) |
rows, identity matrix by default
None meshlib.mrmeshpy.Matrix2i.x | ( | self, | |
Vector2i | arg1 ) |
|
static |