VecIdPt1D

| HOME | BACK |

Overview

VecIdPt1D is a vector to store IdPt1D 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

{VecIdPt1D} ret  =  VECIDPT1D([{int} argm1])

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

Example:

->v1 = VecIdPt1D() default max size = 5 (can store up to 5 IdPt1D objects)

->v1 = VecIdPt1D(200)

create a vector of indices with max size = 200

 

Lfunction

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

argm1 = vector index

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

Example:

->v1(0) = IdPt1D(100,200.5,0.050) set value of the 1st element to an IdIndx, having id = 100, x = 200.5 and sd = 0.050

 

Class function

 (  )  EXTEND FIND ID INIT
LOAD LOADSCH MATRIX MAXSIZE  MAX
MEAN MIN PUSHBACK  QFIND REMALL
REMOVE REMSORT SAVE SET_SD  
 SHIFT SIZE SORT SORT_X TRUNCATE
WINDOW WINDOW_X      

 


| HOME | BACK |