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