Matrix_str |
Overview
Matrix_cmp is a two-dimensional array of string objects.
A matrix_str 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. The concept of nulldata and flag_null is in fact intended to utilize in numerical Matrix computation. However, users still make use of the nulldata in other purposes, for example as an attribute of a matrox_str object.
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_str} ret = MATRIX_STR([{int} argm1, {int} argm2, {String} argm3])
argm1 = no of row (default = 0)
argm2 = no of column (default = 0)
argm3 = initial value (default = 0)
Example:
->a = Matrix_str() |
Lfunction
object({int} argm1, {int} argm2) = {String} left-value
argm1 = row index
argm2 = column index
object.FLAG_NULL() = {bool} left-value
object.NULLDATA() = {double} left-value
Example:
->c ans = no of row : 2 no of column : 3 0:Noobeed Noobeed Noobeed 1:Noobeed Noobeed Noobeed ->c(0,0) = "deeboon" ->c ans = no of row : 2 no of column : 3 0:deeboon Noobeed Noobeed 1:Noobeed Noobeed Noobeed -> |
Class function
A-D |
E-H |
I-L |
M-P |
Q-S |
T-Z |
INIT |
MUPDATE |
RC2NO |
UCHAR | ||
FINDALL |
UPDATE |
||||
FINDFROM |
VECTOR |
||||
WINDOW | |||||
QFIND |
|||||
SAVECSV | |||||
SET | |||||
|
|||||
|
|||||
|
|
||||
|
|