|
|
Overview
Matrix is a two-dimensional array of double precision floating point data, i.e. each element in the matrix takes 8 bytes of computer memory.
A matrix can have a null data, so that a particular element whose value equal to the specified value of nulldata will be omitted in matrix computation, for example calculation of minimum, maximum, or in matrix operation, for e.g. matrix overlay.
A matrix also has a flag_null, and its value can be 0 (off) or 1 (on). When flag_null = 0, there is no omission of nulldata.
Member data
Name |
Data type |
Meaning |
nrow |
int |
number of rows |
ncol |
int |
number of columns |
flag_null |
bool |
a flag indicates whether
the null data is omitted in computation(0 = no, 1 = yes) |
nulldata |
double |
value of null data (not
application if flag_null = 0) |
Operator
See details in operator section.
Construction function
{Matrix} ret = MATRIX([{int} argm1, {int} argm2, {double} argm3])
argm1 = no of row (default = 0)
argm2 = no of column (default = 0)
argm3 = initial value (default = 0)
Example:
->A = Matrix() |
Lfunction
object({int} argm1, {int} argm2) = {double} left-value
argm1 = row index
argm2 = column index
object.FLAG_NULL() = {bool} left-value
object.NULLDATA() = {double} left-value
Example:
->B(0,0) = 999 |
A-D |
E-H |
I-L |
M-P |
Q-S |
T-Z |
MATCHING** |
|||||
MATSTR |
|||||
FINDALL |
|||||
FINDFROM |
|||||
BIT* | |||||
VECTOR |
|||||
|
|||||
|
|||||
FMODE*** |
|
||||
GETASC** |
|
||||
GETBIN2** |
LOADCSV |
|
|||
GETBIN4** |
|
|
|||
GETBIN4F** |
LOADTIF16**** |
|
|
||
GETBIN8** |
LOADTIF32***** |
|
|
||
|
|
||||
|
|
||||
LOOKUP*** |
|
SAVECSV |
|
||
|
|
||||
|
|
|
|||
HISTMATCH*** |
|
|
|
||
DRWBREAKLINE***** |
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
||
DRWTEXT** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
STRING** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* for class MATRIX only
** for class MATRIX_UCH only
*** for class MATRIX_INT MATRIX_SHT and MATRIX_UCH only
**** for class MATRIX MATRIX_FLT MATRIX_INT and MATRIX_SHT only
***** for class MATRIX and MATRIX_FLT only