VecIndx

| HOME | BACK |

Overview

VecIndx is a vector to store index objects. 

 

Member data

Name Data type Meaning
id int ID number of the vector
size int no of data in the vector
maxsize int no of maximum data can be stored in a vector

 

Operator

no operator provided

 

Construction function

{VecIndx} ret  =  VECINDX([{int} argm1])

argm1 = max no of data in the vector    (default = 3)

Example:

->v1 = VecIndx() default max size = 5 (can store up to 5 indices)

->v1 = VecIndx(200)

create a vector of indices with max size = 200

 

Lfunction

object({int} argm1)   =  {Indx} left-value

argm1 = vector index

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

 

Example:

->v1(0) = Indx(5,6) set value of the 1st element to an index of (5,6)

 

Class function

 ( ) AREA  EXTEND FIND ID
INIT LOAD LOADSCH MATRIX MAX
 MAXSIZE MEAN MIN PUSHBACK  QFIND
REMALL REMOVE  REMSORT REVERSE SAVE
SHIFT SIZE  SMOOTH SORT SWAP_RC
TRUNCATE WINDOW WINDOW_R WINDOW_RC  

 


| HOME | BACK |