Mat_cd.kl¶
Types¶
Mat_cd (struct)¶
The Mat_cd represents a dense matrix.
/*
** Example: Mat_cd
*/
// create a 4 row, 3 column matrix
Mat_cd mat(4, 3);
Methods¶
| Mat_cd ( in Integer rows, in Integer cols ) | |
| Mat_cd ( in Mat_cd that ) | |
| Mat_cd () | |
| Boolean | almostEqual ? ( in Mat_cd that ) |
| Boolean | almostEqual ? ( in Mat_cd that, in Float32 precision ) |
| appendDesc ? ( io String string ) | |
| Mat_cd | clone ? () |
| Integer | cols ? () |
| Boolean | equal ? ( in Mat_cd that ) |
| Complex_d | get ? ( in Integer row, in Integer col ) |
| UInt32 | hash ? () |
| Mat_cd | linearInterpolate ? ( in Mat_cd that, in Complex_d t ) |
| resize ! ( in Integer rows, in Integer cols ) | |
| Integer | rows ? () |
| set ! ( in Integer row, in Integer col, in Complex_d val ) | |
| setAll ! ( in Complex_d val ) | |
| setDiagonal ! ( in Integer size, in Complex_d val ) | |
| setDiagonal ! ( in Vec_cd vec ) | |
| setIdentity ! ( in Integer size ) | |
| setNull ! () | |
| String | sizeDesc ? () |
| Mat_cd | sub ? ( in Integer rs, in Integer re, in Integer cs, in Integer ce ) |
| Mat_cd | topLeft ? ( in Integer rows, in Integer cols ) |
| Complex_d | trace ? () |
| Mat_cd | transpose ? () |