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