Mat22_c.kl¶
Types¶
Mat22_c (struct)¶
The Mat22_c represents a 2 by 2 matrix. It uses Vec2_c types for each of the 2 rows.
/*
** Example: Construct Mat22_c
*/
// create a matrix 2x2
Vec2_c v0(1.0, 0.0);
Vec2_c v1(0.0, 1.0);
Mat22_c mat(v0, v1);
Methods¶
Mat22_c ( in Complex _00, in Complex _01, in Complex _10, in Complex _11 ) | |
Mat22_c ( in Mat22_c other ) | |
Mat22_c ( in Vec2_c row0, in Vec2_c row1 ) | |
Mat22_c () | |
Mat22_c | add ? ( in Mat22_c other ) |
Mat22_c | adjoint ? () |
Boolean | almostEqual ? ( in Mat22_c other ) |
Boolean | almostEqual ? ( in Mat22_c other, in Float32 precision ) |
Mat22_c | clone ? () |
Complex | determinant ? () |
Mat22_c | divideComplex ? ( in Complex other ) |
Boolean | equal ? ( in Mat22_c other ) |
UInt32 | hash ? () |
Mat22_c | inverse ? () |
Mat22_c | multiply ? ( in Mat22_c other ) |
Mat22_c | multiplyComplex ? ( in Complex other ) |
Vec2_c | multiplyVector ? ( in Vec2_c other ) |
set ! ( in Complex _00, in Complex _01, in Complex _10, in Complex _11 ) | |
setColumns ! ( in Vec2_c col0, in Vec2_c col1 ) | |
setDiagonal ! ( in Complex v ) | |
setDiagonal ! ( in Vec2_c v ) | |
setIdentity ! () | |
setNull ! () | |
setRows ! ( in Vec2_c row0, in Vec2_c row1 ) | |
Mat22_c | subtract ? ( in Mat22_c other ) |
Mat22_c | transpose ? () |