arbitrary 2x2 matrix Generated from class MR.Matrix2i. This is the by-value version of the struct.
More...
Inheritance diagram for MR.Matrix2i:Public Member Functions | |
| Matrix2i (Matrix2i _other) | |
| Generated copy constructor. | |
| unsafe | Matrix2i () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Matrix2i (in MR.Vector2i x, in MR.Vector2i y) |
initializes matrix from its 2 rows Generated from constructor MR.Matrix2i.Matrix2i. | |
| unsafe ref MR.Vector2i | index (int row) |
Generated from method MR.Matrix2i.operator[]. | |
| readonly unsafe MR.Vector2i | col (int i) |
column access Generated from method MR.Matrix2i.col. | |
| readonly unsafe int | trace () |
computes trace of the matrix Generated from method MR.Matrix2i.trace. | |
| readonly unsafe int | normSq () |
compute sum of squared matrix elements Generated from method MR.Matrix2i.normSq. | |
| readonly unsafe double | norm () |
Generated from method MR.Matrix2i.norm. | |
| readonly unsafe int | det () |
computes determinant of the matrix Generated from method MR.Matrix2i.det. | |
| readonly unsafe MR.Matrix2i | transposed () |
computes transposed matrix Generated from method MR.Matrix2i.transposed. | |
| unsafe ref MR.Matrix2i | addAssign (in MR.Matrix2i b) |
Generated from function MR.operator+=. | |
| unsafe ref MR.Matrix2i | subAssign (in MR.Matrix2i b) |
Generated from function MR.operator-=. | |
| unsafe ref MR.Matrix2i | mulAssign (int b) |
Generated from function MR.operator*=. | |
| unsafe ref MR.Matrix2i | divAssign (int b) |
Generated from function MR.operator/=. | |
| bool | Equals (MR.Matrix2i b) |
| override bool | Equals (object? other) |
Static Public Member Functions | |
| static implicit | operator Matrix2i (ConstBox_Matrix2i other) |
| Copy contents from a wrapper class to this struct. | |
| static MR.Matrix2i | zero () |
Generated from method MR.Matrix2i.zero. | |
| static MR.Matrix2i | identity () |
Generated from method MR.Matrix2i.identity. | |
| static MR.Matrix2i | scale (int s) |
returns a matrix that scales uniformly Generated from method MR.Matrix2i.scale. | |
| static MR.Matrix2i | scale (int sx, int sy) |
returns a matrix that has its own scale along each axis Generated from method MR.Matrix2i.scale. | |
| static unsafe MR.Matrix2i | scale (in MR.Vector2i s) |
Generated from method MR.Matrix2i.scale. | |
| static unsafe MR.Matrix2i | fromRows (in MR.Vector2i x, in MR.Vector2i y) |
constructs a matrix from its 2 rows Generated from method MR.Matrix2i.fromRows. | |
| static unsafe MR.Matrix2i | fromColumns (in MR.Vector2i x, in MR.Vector2i y) |
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 Generated from method MR.Matrix2i.fromColumns. | |
| static unsafe bool | operator== (MR.Matrix2i a, MR.Matrix2i b) |
Generated from function MR.operator==. | |
| static unsafe bool | operator!= (MR.Matrix2i a, MR.Matrix2i b) |
| static unsafe MR.Matrix2i | operator+ (MR.Matrix2i a, in MR.Matrix2i b) |
Generated from function MR.operator+. | |
| static unsafe MR.Matrix2i | operator- (MR.Matrix2i a, in MR.Matrix2i b) |
Generated from function MR.operator-. | |
| static unsafe MR.Matrix2i | operator* (int a, MR.Matrix2i b) |
Generated from function MR.operator*. | |
| static unsafe MR.Matrix2i | operator* (MR.Matrix2i b, int a) |
Generated from function MR.operator*. | |
| static MR.Matrix2i | operator/ (MR.Matrix2i b, int a) |
Generated from function MR.operator/. | |
| static unsafe MR.Vector2i | operator* (MR.Matrix2i a, in MR.Vector2i b) |
x = a * b Generated from function MR.operator*. | |
| static unsafe MR.Matrix2i | operator* (MR.Matrix2i a, in MR.Matrix2i b) |
product of two matrices Generated from function MR.operator*. | |
Public Attributes | |
| MR.Vector2i | x |
| rows, identity matrix by default | |
| MR.Vector2i | y |
Properties | |
| readonly unsafe ref readonly MR.Vector2i | this[int row] [get] |
row access Generated from method MR.Matrix2i.operator[]. | |
arbitrary 2x2 matrix Generated from class MR.Matrix2i. This is the by-value version of the struct.
|
inline |
Generated copy constructor.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
initializes matrix from its 2 rows Generated from constructor MR.Matrix2i.Matrix2i.
|
inline |
Generated from function MR.operator+=.
|
inline |
column access Generated from method MR.Matrix2i.col.
|
inline |
computes determinant of the matrix Generated from method MR.Matrix2i.det.
|
inline |
Generated from function MR.operator/=.
|
inline |
|
inline |
|
inlinestatic |
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 Generated from method MR.Matrix2i.fromColumns.
|
inlinestatic |
constructs a matrix from its 2 rows Generated from method MR.Matrix2i.fromRows.
|
inlinestatic |
Generated from method MR.Matrix2i.identity.
|
inline |
Generated from method MR.Matrix2i.operator[].
|
inline |
Generated from function MR.operator*=.
|
inline |
Generated from method MR.Matrix2i.norm.
|
inline |
compute sum of squared matrix elements Generated from method MR.Matrix2i.normSq.
|
static |
Copy contents from a wrapper class to this struct.
|
inlinestatic |
|
inlinestatic |
Generated from function MR.operator*.
|
inlinestatic |
product of two matrices Generated from function MR.operator*.
|
inlinestatic |
x = a * b Generated from function MR.operator*.
|
inlinestatic |
Generated from function MR.operator*.
|
inlinestatic |
Generated from function MR.operator+.
|
inlinestatic |
Generated from function MR.operator-.
|
inlinestatic |
Generated from function MR.operator/.
|
inlinestatic |
Generated from function MR.operator==.
|
inlinestatic |
Generated from method MR.Matrix2i.scale.
|
inlinestatic |
returns a matrix that scales uniformly Generated from method MR.Matrix2i.scale.
|
inlinestatic |
returns a matrix that has its own scale along each axis Generated from method MR.Matrix2i.scale.
|
inline |
Generated from function MR.operator-=.
|
inline |
computes trace of the matrix Generated from method MR.Matrix2i.trace.
|
inline |
computes transposed matrix Generated from method MR.Matrix2i.transposed.
|
inlinestatic |
Generated from method MR.Matrix2i.zero.
| MR.Vector2i MR.Matrix2i.x |
rows, identity matrix by default
| MR.Vector2i MR.Matrix2i.y |
|
get |
row access Generated from method MR.Matrix2i.operator[].