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