arbitrary 2x2 matrix Generated from class MR.Matrix2f. This is the non-const reference to the struct.
More...
Inheritance diagram for MR.Box_Matrix2f:Public Member Functions | |
| unsafe | Box_Matrix2f (Matrix2f other) |
Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.) | |
| unsafe | Box_Matrix2f (ConstBox_Matrix2f _other) |
| Generated copy constructor. | |
| void | Assign (ConstBox_Matrix2f _other) |
| Generated copy assignment. | |
| unsafe | Box_Matrix2f () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Box_Matrix2f (in MR.Vector2f x, in MR.Vector2f y) |
initializes matrix from its 2 rows Generated from constructor MR.Matrix2f.Matrix2f. | |
| 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/=. | |
Public Member Functions inherited from MR.ConstBox_Matrix2f | |
| virtual void | Dispose () |
| unsafe | ConstBox_Matrix2f (Matrix2f other) |
Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.) | |
| unsafe | ConstBox_Matrix2f (ConstBox_Matrix2f _other) |
| Generated copy constructor. | |
| unsafe | ConstBox_Matrix2f () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | ConstBox_Matrix2f (in MR.Vector2f x, in MR.Vector2f y) |
initializes matrix from its 2 rows Generated from constructor MR.Matrix2f.Matrix2f. | |
| unsafe MR.Vector2f | col (int i) |
column access Generated from method MR.Matrix2f.col. | |
| unsafe float | trace () |
computes trace of the matrix Generated from method MR.Matrix2f.trace. | |
| unsafe float | normSq () |
compute sum of squared matrix elements Generated from method MR.Matrix2f.normSq. | |
| unsafe float | norm () |
Generated from method MR.Matrix2f.norm. | |
| unsafe float | det () |
computes determinant of the matrix Generated from method MR.Matrix2f.det. | |
| unsafe MR.Matrix2f | inverse () |
computes inverse matrix Generated from method MR.Matrix2f.inverse. | |
| unsafe MR.Matrix2f | transposed () |
computes transposed matrix Generated from method MR.Matrix2f.transposed. | |
| bool | Equals (MR.ConstBox_Matrix2f? b) |
| override bool | Equals (object? other) |
Properties | |
| new ref MR.Vector2f | x [get] |
| rows, identity matrix by default | |
| new ref MR.Vector2f | y [get] |
| unsafe new ref MR.Vector2f | this[int row] [get] |
Generated from method MR.Matrix2f.operator[]. | |
Properties inherited from MR.ConstBox_Matrix2f | |
| ref readonly MR.Vector2f | x [get] |
| rows, identity matrix by default | |
| ref readonly MR.Vector2f | y [get] |
| unsafe ref readonly MR.Vector2f | this[int row] [get] |
row access Generated from method MR.Matrix2f.operator[]. | |
Additional Inherited Members | |
Static Public Member Functions inherited from MR.ConstBox_Matrix2f | |
| static implicit | operator ConstBox_Matrix2f (Matrix2f other) |
Convert from a struct by copying it. Note that only ConstBox_Matrix2f has this conversion, Box_Matrix2f intentionally doesn't. | |
| 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.ConstBox_Matrix2f a, MR.ConstBox_Matrix2f b) |
Generated from function MR.operator==. | |
| static unsafe bool | operator!= (MR.ConstBox_Matrix2f a, MR.ConstBox_Matrix2f b) |
| static unsafe MR.Matrix2f | operator+ (MR.ConstBox_Matrix2f a, in MR.Matrix2f b) |
Generated from function MR.operator+. | |
| static unsafe MR.Matrix2f | operator- (MR.ConstBox_Matrix2f a, in MR.Matrix2f b) |
Generated from function MR.operator-. | |
| static unsafe MR.Matrix2f | operator* (float a, MR.ConstBox_Matrix2f b) |
Generated from function MR.operator*. | |
| static unsafe MR.Matrix2f | operator* (MR.ConstBox_Matrix2f b, float a) |
Generated from function MR.operator*. | |
| static unsafe MR.Matrix2f | operator/ (ConstBox_Matrix2f b, float a) |
Generated from function MR.operator/. | |
| static unsafe MR.Vector2f | operator* (MR.ConstBox_Matrix2f a, in MR.Vector2f b) |
x = a * b Generated from function MR.operator*. | |
| static unsafe MR.Matrix2f | operator* (MR.ConstBox_Matrix2f a, in MR.Matrix2f b) |
product of two matrices Generated from function MR.operator*. | |
Protected Member Functions inherited from MR.ConstBox_Matrix2f | |
| virtual unsafe void | Dispose (bool disposing) |
arbitrary 2x2 matrix Generated from class MR.Matrix2f. This is the non-const reference to the struct.
|
inline |
Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
|
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 |
Generated copy assignment.
|
inline |
Generated from function MR.operator/=.
|
inline |
Generated from function MR.operator*=.
|
inline |
Generated from function MR.operator-=.
|
get |
Generated from method MR.Matrix2f.operator[].
|
get |
rows, identity matrix by default
|
get |