Idindx

| HOME | BACK |

Overview

IdIndx is an object that consists of an ID number, two integer numbers for row and column, and a standard deviation.  Its main usage is for an index in a matrix coordinate system, with an ID and a standard deviation.  IdIndx can also be used as a general data structure, though.

 

Member data

Name Data type Meaning
id int ID number
row int row index
col int column index
sd double standard deviation

 

Operator

no operator provided

 

Construction function

{IdIndx} ret  =  IDINDX([{int} argm1, {int} argm2, {int} argm3, {double} argm4])

argm1 = Point ID               (default = 0)

argm2 = row index              (default = 0)

argm3 = column index           (default = 0)

argm4 = standard deviation     (default = 0)

Example:

->ind_1 = IdIndx() a deafult IdIndx object (id = 0, r = 0, c = 0, sd = 0.00)

->ind_1 = IdIndx(10, 21,35, 0.05)

an IdIndx object  (id =10, r = 21, c = 35, sd = 0.05)

 

Lfunction

object.ID()   =  {int} left-value

object.ROW()  =  {int} left-value

object.COL()  =  {int} left-value

object.SD()   =  {double} left-value

Example:

->ind_1.id() = 5009

->ind_1.sd() = 1.25

 

 

 

Class function

 COL ID  INDX  INIT MATRIX
ROW SD      

 


| HOME | BACK |