Indx

| HOME | BACK |

Overview

Indx is an object which consists of two integers.  It is used to store an index, row and column, of a matrix.  Indx can also be used as a general data structure, though.

 

Member data

Name Data type Meaning
row int row index
col int column index

 

Operator

no operator provided

 

Construction function

{Indx} ret  =  INDX([{int} argm1, {int} argm2])

argm1 = row index      (default = 0)

argm1 = column index   (default = 0)

Example:

->ind_1 = Indx() a deafult indx object (r = 0, c = 0)

->ind_1 = Indx(2001,35)

an indx object (r = 2001, c = 35)

 

Lfunction

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

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

Example:

->ind_1.row() = 5

->ind_1.col() = 6 

 

Class function

 COL  INIT MATRIX ROW

 


| HOME | BACK |