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