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