*vsy_BitVecBegin - create an instance of a BitVec object vsy_BitVecEnd - destroy an instance of a BitVec object vsy_BitVecError - return BitVec object error flag vsy_BitVecCopy - copy a BitVec
vsy_BitVecBoolean - perform Boolean operations between vectors vsy_BitVecClear - clear all bits to zero vsy_BitVecComplement - flip the value of all bits vsy_BitVecCount - get number of one bits vsy_BitVecDef - define initial maximum bit index Inq - inquire current maximum bit index vsy_BitVecMatch - check for matching objects vsy_BitVecInitIter - prepare to successively visit each one bit vsy_BitVecNextIter - return the index of the next one bit vsy_BitVecSet - set a bit value at an index Get - get a bit value at an index vsy_BitVecSetParami - set bit vector operation parameters vsy_BitVecVector - place one bit indices in a vector
Bit values are initially zero. Bit values may be set by calling vsy_BitVecSet. A bit value may be returned for a given index using vsy_BitVecGet. The total number of one bits contained in the bit vector may be found by calling vsy_BitVecCount. The complement of a bit vector may be performed using vsy_BitVecComplement. Boolean operations between two bit vectors are performed using vsy_BitVecBoolean.
The index of each one bit in the vector may be returned with an "iterator" construct. The pair of methods vsy_BitVecInitIter and vsy_BitVecNextIter are used to visit each one bit using a loop. Call the first method before the body of the loop to prepare the BitVec object for the iteration. Within the loop body, call vsy_BitVecNextIter. It will return the index to the next one bit each time it is called. It will return an index of -1 when all of the one bits have been processed.
*vsy_BitVecBegin - create an instance of an BitVec object
vsy_BitVec *vsy_BitVecBegin ()
None
Destroy an instance of a BitVec object using
void vsy_BitVecEnd (vsy_BitVec *bitvec)
Return the current value of a BitVec object error flag using
Vint vsy_BitVecError (vsy_BitVec *bitvec)
Make a copy of a BitVec object. The private data from the frombitvec object is copied to the BitVec object. Any previous private data in bitvec is lost.
void vsy_BitVecCopy (vsy_BitVec *bitvec, vsy_BitVec *frombitvec)
vsy_BitVecBoolean,vsy_BitVecClear,vsy_BitVecComplement - bit vector operations
void vsy_BitVecBoolean (vsy_BitVec *bitvec, Vint oper, vsy_BitVec *bitvecsrc) void vsy_BitVecClear (vsy_BitVec *bitvec) void vsy_BitVecComplement (vsy_BitVec *bitvec)
bitvec Pointer to BitVec object. oper Boolean operation to perform =BITVEC_AND Bitwise and of bitvecsrc and bitvec. =BITVEC_OR Bitwise or of bitvecsrc and bitvec. =BITVEC_XOR Bitwise xor of bitvecsrc and bitvec. =BITVEC_SET Copy bitvecsrc to bitvec. bitvecsrc Pointer to source BitVec object.
None
Clear all bits to zero in a BitVec object using
void vsy_BitVecClear (vsy_BitVec *bitvec)
Flip the values of all bits in a BitVec object using
void vsy_BitVecComplement (vsy_BitVec *bitvec)
vsy_BitVecCount - get number of one bits
void vsy_BitVecCount (const vsy_BitVec *bitvec, Vint *num)
bitvec Pointer to BitVec object.
num Number of one bits.
vsy_BitVecDef - define initial maximum bit index
void vsy_BitVecDef (vsy_BitVec *bitvec, Vint maxindex)
bitvec Pointer to BitVec object. maxindex Estimated maximum bit index addressed
None
Find the current maximum bit index of a BitVec using
void vsy_BitVecInq (const vsy_BitVec *bitvec, Vint *maxindex)
vsy_BitVecMatch - check for matching objects
void vsy_BitVecMatch (vsy_BitVec *bitvec, vsy_BitVec *bitvecm, Vint *flag)
bitvec Pointer to BitVec object. bitvecm Pointer to BitVec object.
flag Matching flag =SYS_OFF Not matching =SYS_ON Matching
vsy_BitVecNextIter,vsy_BitVecInitIter - successively visit each one bit
void vsy_BitVecInitIter (vsy_BitVec *bitvec) void vsy_BitVecNextIter (vsy_BitVec *bitvec, Vint *index)
bitvec Pointer to BitVec object.
index Index of next one bit.
vsy_BitVecSet - set a bit value at an index
void vsy_BitVecSet (vsy_BitVec *bitvec, Vint index, Vint value)
bitvec Pointer to BitVec object. index Index of bit to set value value Value of bit =SYS_OFF Turn bit off (zero) =SYS_ON Turn bit on (one)
None
Return the bit value at an index using
void vsy_BitVecGet (const vsy_BitVec *bitvec, Vint index, Vint *value)
vsy_BitVecSetParami - set bit vector operation parameters
void vsy_BitVecSetParami (vsy_BitVec *bitvec, Vint ptype, Vint iparam)
bitvec Pointer to BitVec object. ptype Type of parameter to set =VSY_INCLUDEZERO Validity of zero bit index, iparam iparam Specifies the integer value that ptype will be set to.
None
vsy_BitVecVector - place one bit indices in a vector
void vsy_BitVecVector (vsy_BitVec *bitvec, Vint vec[])
bitvec Pointer to BitVec object.
vec Vector of one bit indices
*vsy_DblVecBegin - create an instance of a DblVec object vsy_DblVecEnd - destroy an instance of a DblVec object vsy_DblVecError - return DblVec object error flag vsy_DblVecCopy - copy a DblVec
vsy_DblVecAppend - append value at end of vector vsy_DblVecClear - clear all doubles to zero vsy_DblVecCount - get number of nonzero doubles vsy_DblVecDef - define initial maximum index Inq - inquire current maximum index vsy_DblVecGetPtr - get pointer to start of double vector vsy_DblVecMatch - check for matching objects vsy_DblVecInitIter - prepare to successively visit each nonzero vsy_DblVecNextIter - return the index of the next nonzero vsy_DblVecSet - set a double value at an index Get - get a double value at an index vsy_DblVecSum - sum a double value at an index vsy_DblVecSetParami - set double vector operation parameters
Double values are initially zero. Double values may be set by calling vsy_DblVecSet. A double value may be returned for a given index using vsy_DblVecGet. The total number of nonzero double values contained in the vector may be found by calling vsy_DblVecCount.
The index of each nonzero double value in the vector may be returned with an "iterator" construct. The pair of methods vsy_DblVecInitIter and vsy_DblVecNextIter are used to visit each nonzero value using a loop. Call the first method before the body of the loop to prepare the DblVec object for the iteration. Within the loop body, call vsy_DblVecNextIter. It will return the index to the next nonzero value each time it is called. It will return an index of -1 when all of the nonzero values have been processed.
*vsy_DblVecBegin - create an instance of an DblVec object
vsy_DblVec *vsy_DblVecBegin ()
None
Destroy an instance of a DblVec object using
void vsy_DblVecEnd (vsy_DblVec *dblvec)
Return the current value of a DblVec object error flag using
Vint vsy_DblVecError (vsy_DblVec *dblvec)
Make a copy of a DblVec object. The private data from the fromdblvec object is copied to the DblVec object. Any previous private data in dblvec is lost.
void vsy_DblVecCopy (vsy_DblVec *dblvec, vsy_DblVec *fromdblvec)
vsy_DblVecCount - get number of nonzero values
void vsy_DblVecCount (const vsy_DblVec *dblvec, Vint *num)
dblvec Pointer to DblVec object.
num Number of nonzero double values
vsy_DblVecDef - define initial maximum index
void vsy_DblVecDef (vsy_DblVec *dblvec, Vint maxindex)
dblvec Pointer to DblVec object. maxindex Estimated maximum index addressed
None
Find the current maximum set or appended index of a DblVec using The returned value will be -1 if no values are set.
void vsy_DblVecInq (const vsy_DblVec *dblvec, Vint *maxindex)
vsy_DblVecAppend - append value at end of vector
void vsy_DblVecAppend (vsy_DblVec *dblvec, Vdouble value)
dblvec Pointer to DblVec object. value Double value
None
vsy_DblVecClear - clear all doubles to zero
void vsy_DblVecClear (vsy_DblVec *dblvec)
dblvec Pointer to DblVec object.
None
vsy_DblVecGetPtr - get pointer to start of double vector
void vsy_DblVecGetPtr (vsy_DblVec *dblvec, Vdouble **ptr)
dblvec Pointer to DblVec object.
ptr Pointer to start of double vector
vsy_DblVecMatch - check for matching objects
void vsy_DblVecMatch (vsy_DblVec *dblvec, vsy_DblVec *dblvecm, Vint *flag)
dblvec Pointer to DblVec object. dblvecm Pointer to DblVec object.
flag Matching flag =SYS_OFF Not matching =SYS_ON Matching
vsy_DblVecNextIter,vsy_DblVecInitIter - successively visit each nonzero value
void vsy_DblVecInitIter (vsy_DblVec *dblvec) void vsy_DblVecNextIter (vsy_DblVec *dblvec, Vint *index, Vdouble *value)
dblvec Pointer to DblVec object.
index Index of next nonzero value value Double value
vsy_DblVecSet - set a double value at an index
void vsy_DblVecSet (vsy_DblVec *dblvec, Vint index, Vdouble value)
dblvec Pointer to DblVec object. index Index of set value value Double value
None
Return the value at an index using
void vsy_DblVecGet (const vsy_DblVec *dblvec, Vint index, Vdouble *value)
vsy_DblVecSum - sum a double value at an index
void vsy_DblVecSum (vsy_DblVec *dblvec, Vint index, Vdouble value)
dblvec Pointer to DblVec object. index Index of set value value Double value
None
vsy_DblVecSetParami - set double vector operation parameters
void vsy_DblVecSetParami (vsy_DblVec *dblvec, Vint ptype, Vint iparam)
dblvec Pointer to DblVec object. ptype Type of parameter to set =VSY_INCLUDEZERO Validity of zero index, iparam iparam Specifies the integer value that ptype will be set to.
None
*vsy_IntDictBegin - create an instance of a IntDict object vsy_IntDictEnd - destroy an instance of a IntDict object vsy_IntDictError - return IntDict object error flag
vsy_IntDictDef - suggest number of items Inq - get current storage capacity vsy_IntDictCount - get number of contained integers vsy_IntDictInsert - place integer in the dictionary vsy_IntDictLookup - find integer with the specified name vsy_IntDictClear - remove all integers vsy_IntDictInitIter - prepare to successively visit each integer vsy_IntDictInitIterOrder - alphabetically by name, visit each integer vsy_IntDictNextIter - return the next integer in the sequence
Each new integer is placed in the dictionary by calling vsy_IntDictInsert. The total number of integers contained in the dictionary may be found with vsy_IntDictCount. The integer with a specified name may be found by calling vsy_IntDictLookup. The method vsy_IntDictClear removes all integers from the dictionary.
Each integer in the dictionary may be processed with an "iterator" construct. The pair of methods vsy_IntDictInitIter and vsy_IntDictNextIter are used to visit each name/integer pair using a loop. Call the first method before the body of the loop to prepare the IntDict object for the iteration. Within the loop body, call vsy_IntDictNextIter. It will return the name of and the value of an integer each time it is called. It will return a NULL pointer to the name and a zero value when all of the integers have been visited. Use vsy_IntDictInitIterOrder to visit the integers in name alphabetical order
*vsy_IntDictBegin - create an instance of an IntDict object
vsy_IntDict *vsy_IntDictBegin ()
None
Destroy an instance of a IntDict object using
void vsy_IntDictEnd (vsy_IntDict *intdict)
Return the current value of a IntDict object error flag using
Vint vsy_IntDictError (vsy_IntDict *intdict)
vsy_IntDictDef - define initial size
void vsy_IntDictDef (vsy_IntDict *intdict, Vint numint)
intdict Pointer to IntDict object. numint Estimated number of integers to be held.
None
Find the number of integers which may be managed by the currently allocated internal storage of a IntDict using
void vsy_IntDictInq (const vsy_IntDict *intdict, Vint *numint,
vsy_IntDictCount - get number of contained integers
void vsy_IntDictCount (const vsy_IntDict *intdict, Vint *num)
intdict Pointer to IntDict object.
num Number of integers held the in IntDict object.
vsy_IntDictInsert - place an integer in the dictionary
void vsy_IntDictInsert (vsy_IntDict *intdict, const Vchar *name, Vint value)
intdict Pointer to IntDict object. name String which identifies the integer. value Integer value, non zero
None
vsy_IntDictLookup - find the integer at a specified location
void vsy_IntDictLookup (const vsy_IntDict *intdict, const Vchar *name, Vint *value)
intdict Pointer to IntDict object. name Name of the integer.
value Integer associated with the specified name.
vsy_IntDictClear - remove all integers
void vsy_IntDictClear (vsy_IntDict *intdict)
intdict Pointer to IntDict object.
None
vsy_IntDictInitIter,vsy_IntDictNextIter - successively visit each integer
void vsy_IntDictInitIter (vsy_IntDict *intdict) void vsy_IntDictInitIterOrder (vsy_IntDict *intdict) void vsy_IntDictNextIter (vsy_IntDict *intdict, Vchar **name, Vint *value)
intdict Pointer to IntDict object.
name Name of the integer value Integer associated with name.
*vsy_IntHashBegin - create an instance of a IntHash object vsy_IntHashEnd - destroy an instance of a IntHash object vsy_IntHashError - return IntHash object error flag
vsy_IntHashDef - define suggested number of stored items Inq - get current storage capacity vsy_IntHashCount - get number of contained integers vsy_IntHashMaxKey - get maximum key value vsy_IntHashAllKeys - get all key values vsy_IntHashInsert - place integer at specified location vsy_IntHashLookup - find integer at specified location vsy_IntHashClear - remove all integers vsy_IntHashInitIter - prepare to successively visit each integer vsy_IntHashInitIterOrder - monotonically increasing integer key vsy_IntHashNextIter - return the next integer in the sequence
Each new integer is placed in the hashtable using vsy_IntHashInsert. The total number of integers contained in the hashtable may be found by calling vsy_IntHashCount. An integer with a specified integer key may be retrieved using vsy_IntHashLookup. The method vsy_IntHashClear removes all integers from the hashtable. The maximum key used to store any integer may be queried using vsy_IntHashMaxKey. All keys may be queried using vsy_IntHashAllKeys. In this case the number of keys returned will be equal to the number of keys returned by vsy_IntHashCount.
Each integer in the hashtable may be processed with an "iterator" construct. The pair of methods vsy_IntHashInitIter and vsy_IntHashNextIter are used to visit each key/integer pair using a loop. Call the first method before the body of the loop to prepare the IntHash object for the iteration. Within the loop body, call vsy_IntHashNextIter. It will return an integer key and an integer value each time it is called. It will return a zero value when all of the integers have been processed. Use vsy_IntHashInitIterOrder to visit the integers in monotonically increasing key value.
*vsy_IntHashBegin - create an instance of a IntHash object
vsy_IntHash *vsy_IntHashBegin ()
None
Destroy an instance of a IntHash object using
void vsy_IntHashEnd (vsy_IntHash *inthash)
Return the current value of a IntHash object error flag using
Vint vsy_IntHashError (vsy_IntHash *inthash)
vsy_IntHashDef - define initial length of storage array
void vsy_IntHashDef (vsy_IntHash *inthash, Vint numint)
inthash Pointer to IntHash object. numint Estimated number of integers to be held.
None
Find the number of integers which may be managed with the presently allocated storage using
void vsy_IntHashInq (const vsy_IntHash *inthash, Vint *numint)
vsy_IntHashCount - get number of contained integers
void vsy_IntHashCount (const vsy_IntHash *inthash, Vint *num)
inthash Pointer to IntHash object.
num Number of integers held the in IntHash object.
vsy_IntHashMaxKey - get maximum key value
void vsy_IntHashMaxKey (vsy_IntHash *inthash, Vint *maxkey)
inthash Pointer to IntHash object.
maxkey Maximum key value
vsy_IntHashAllKeys - get all key values
void vsy_IntHashAllKeys (const vsy_IntHash *inthash, Vint allkeys[])
inthash Pointer to IntHash object.
allkeys Array of all keys
vsy_IntHashInsert - place an integer in the hashtable
void vsy_IntHashInsert (vsy_IntHash *inthash, Vint key, Vint value)
inthash Pointer to IntHash object. key Integer key value. value Integer value, non zero
None
vsy_IntHashLookup - find the integer at a specified location
void vsy_IntHashLookup (const vsy_IntHash *inthash, Vint key, Vint *value)
inthash Pointer to IntHash object. key Integer key of the desired integer.
value Integer associated with key.
vsy_IntHashClear - remove all integers
void vsy_IntHashClear (vsy_IntHash *inthash)
inthash Pointer to IntHash object.
None
vsy_IntHashInitIter,vsy_IntHashNextIter - successively visit each integer
void vsy_IntHashInitIter (vsy_IntHash *inthash) vsy_IntHashInitIterOrder (vsy_IntHash *inthash) void vsy_IntHashNextIter (vsy_IntHash *inthash, Vint *key) Vint *value)
inthash Pointer to IntHash object.
key Key of integer value Integer associated with key
*vsy_IntVHashBegin - create an instance of a IntVHash object vsy_IntVHashEnd - destroy an instance of a IntVHash object vsy_IntVHashError - return IntVHash object error flag
vsy_IntVHashDef - define suggested number of stored items Inq - get current storage capacity vsy_IntVHashCount - get number of contained integers vsy_IntVHashInsert - place integer at specified location vsy_IntVHashLookup - find integer at specified location vsy_IntVHashClear - remove all integers vsy_IntVHashInitIter - prepare to successively visit each integer vsy_IntVHashNextIter - return the next integer in the sequence
Each new integer is placed in the hashtable using vsy_IntVHashInsert. The total number of integers contained in the hashtable may be found by calling vsy_IntVHashCount. An integer with a specified vector of integer keys may be retrieved using vsy_IntVHashLookup. The method vsy_IntVHashClear removes all integers from the hashtable.
Each integer in the hashtable may be processed with an "iterator" construct. The pair of methods vsy_IntVHashInitIter and vsy_IntVHashNextIter are used to visit each key-vector/integer pair using a loop. Call the first method before the body of the loop to prepare the IntVHash object for the iteration. Within the loop body, call vsy_IntVHashNextIter. It will return an integer key and an integer value each time it is called. It will return a zero value when all of the integers have been processed.
*vsy_IntVHashBegin - create an instance of a IntVHash object
vsy_IntVHash *vsy_IntVHashBegin ()
None
Destroy an instance of a IntVHash object using
void vsy_IntVHashEnd (vsy_IntVHash *intvhash)
Return the current value of a IntVHash object error flag using
Vint vsy_IntVHashError (vsy_IntVHash *intvhash)
vsy_IntVHashDef - define initial length of storage array
void vsy_IntVHashDef (vsy_IntVHash *intvhash, Vint size, Vint numint)
intvhash Pointer to IntVHash object. size Number of integers per key-vector numint Estimated number of integers to be held.
None
Find the number of integers which may be managed with the presently allocated storage using
void vsy_IntVHashInq (const vsy_IntVHash *intvhash, Vint *size, Vint *numint)
vsy_IntVHashCount - get number of contained integers
void vsy_IntVHashCount (const vsy_IntVHash *intvhash, Vint *num)
intvhash Pointer to IntVHash object.
num Number of integers held the in IntVHash object.
vsy_IntVHashInsert - place an integer in the hashtable
void vsy_IntVHashInsert (vsy_IntVHash *intvhash, Vint key[], Vint value)
intvhash Pointer to IntVHash object. key Integer key values. value Integer value, non zero
None
vsy_IntVHashLookup - find the integer at a specified location
void vsy_IntVHashLookup (const vsy_IntVHash *intvhash, Vint key[], Vint *value)
intvhash Pointer to IntVHash object. key Integer key values of the desired integer.
value Integer associated with key.
vsy_IntVHashClear - remove all integers
void vsy_IntVHashClear (vsy_IntVHash *intvhash)
intvhash Pointer to IntVHash object.
None
vsy_IntVHashInitIter,vsy_IntVHashNextIter - successively visit each integer
void vsy_IntVHashInitIter (vsy_IntVHash *intvhash) void vsy_IntVHashNextIter (vsy_IntVHash *intvhash, Vint *key) Vint *value)
intvhash Pointer to IntVHash object.
key Keys of integer value Integer associated with key
*vsy_IntQueBegin - create an instance of a IntQue object vsy_IntQueEnd - destroy an instance of a IntQue object vsy_IntQueError - return IntQue object error flag
vsy_IntQueDef - define suggested number of stored integers Inq - get current storage capacity vsy_IntQueClear - remove all integers vsy_IntQueCount - get number of contained integers vsy_IntQueGet - access and remove earliest integer vsy_IntQuePut - put integer in queue vsy_IntQueRef - access earliest integer without removal
Each new integer is placed in the queue using vsy_IntQuePut. The total number of integers contained in the queue may be found by calling vsy_IntQueCount. The current earliest put integer may be retrieved without removing the integer from the queue using vsy_IntQueRef, to access and remove the integer use vsy_IntQueGet. The method vsy_IntQueClear removes all integers from the queue.
*vsy_IntQueBegin - create an instance of a IntQue object
vsy_IntQue *vsy_IntQueBegin ()
None
Destroy an instance of a IntQue object using
void vsy_IntQueEnd (vsy_IntQue *intque)
Return the current value of a IntQue object error flag using
Vint vsy_IntQueError (vsy_IntQue *intque)
vsy_IntQueDef - define suggested number of stored integers
void vsy_IntQueDef (vsy_IntQue *intque, Vint numint)
intque Pointer to IntQue object. numint Estimated number of integers to be held.
None
Find the number of integers which may be managed with the presently allocated storage using
void vsy_IntQueInq (const vsy_IntQue *intque, Vint *numint)
vsy_IntQueCount - get number of contained integers
void vsy_IntQueCount (const vsy_IntQue *intque, Vint *num)
intque Pointer to IntQue object.
num Number of integers held the in IntQue object.
vsy_IntQuePut - put an integer in the queue
void vsy_IntQueInsert (vsy_IntQue *intque, Vint value)
intque Pointer to IntQue object. value Integer value
None
vsy_IntQueRef - access earliest integer without removal
void vsy_IntQueRef (const vsy_IntQue *intque, Vint *value)
intque Pointer to IntQue object.
value Integer value
vsy_IntQueGet - access and remove earliest integer
void vsy_IntQueGet (vsy_IntQue *intque, Vint *value)
intque Pointer to IntQue object.
value Integer value
vsy_IntQueClear - remove all integers
void vsy_IntQueClear (vsy_IntQue *intque)
intque Pointer to IntQue object.
None
*vsy_IntVecBegin - create an instance of a IntVec object vsy_IntVecEnd - destroy an instance of a IntVec object vsy_IntVecError - return IntVec object error flag vsy_IntVecCopy - copy a IntVec
vsy_IntVecAppend - append value at end of vector vsy_IntVecClear - clear all integers to zero vsy_IntVecCount - get number of nonzero integers vsy_IntVecDef - define initial maximum index Inq - inquire current maximum index vsy_IntVecGetPtr - get pointer to start of integer vector vsy_IntVecMatch - check for matching objects vsy_IntVecInitIter - prepare to successively visit each nonzero vsy_IntVecNextIter - return the index of the next nonzero vsy_IntVecSet - set a integer value at an index Get - get a integer value at an index vsy_IntVecSetParami - set integer vector operation parameters
Integer values are initially zero. Integer values may be set by calling vsy_IntVecSet. A integer value may be returned for a given index using vsy_IntVecGet. The total number of nonzero integer values contained in the vector may be found by calling vsy_IntVecCount.
The index of each nonzero integer value in the vector may be returned with an "iterator" construct. The pair of methods vsy_IntVecInitIter and vsy_IntVecNextIter are used to visit each nonzero value using a loop. Call the first method before the body of the loop to prepare the IntVec object for the iteration. Within the loop body, call vsy_IntVecNextIter. It will return the index to the next nonzero value each time it is called. It will return an index of -1 when all of the nonzero values have been processed.
*vsy_IntVecBegin - create an instance of an IntVec object
vsy_IntVec *vsy_IntVecBegin ()
None
Destroy an instance of a IntVec object using
void vsy_IntVecEnd (vsy_IntVec *intvec)
Return the current value of a IntVec object error flag using
Vint vsy_IntVecError (vsy_IntVec *intvec)
Make a copy of a IntVec object. The private data from the fromintvec object is copied to the IntVec object. Any previous private data in intvec is lost.
void vsy_IntVecCopy (vsy_IntVec *intvec, vsy_IntVec *fromintvec)
vsy_IntVecCount - get number of nonzero values
void vsy_IntVecCount (const vsy_IntVec *intvec, Vint *num)
intvec Pointer to IntVec object.
num Number of nonzero integer values
vsy_IntVecDef - define initial maximum index
void vsy_IntVecDef (vsy_IntVec *intvec, Vint maxindex)
intvec Pointer to IntVec object. maxindex Estimated maximum index addressed
None
Find the current maximum set or appended index of a IntVec using The returned value will be -1 if no values are set.
void vsy_IntVecInq (const vsy_IntVec *intvec, Vint *maxindex)
vsy_IntVecAppend - append value at end of vector
void vsy_IntVecAppend (vsy_IntVec *intvec, Vint value)
intvec Pointer to IntVec object. value Integer value
None
vsy_IntVecClear - clear all integers to zero
void vsy_IntVecClear (vsy_IntVec *intvec)
intvec Pointer to IntVec object.
None
vsy_IntVecGetPtr - get pointer to start of integer vector
void vsy_IntVecGetPtr (vsy_IntVec *intvec, Vint **ptr)
intvec Pointer to IntVec object.
ptr Pointer to start of integer vector
vsy_IntVecMatch - check for matching objects
void vsy_IntVecMatch (vsy_IntVec *intvec, vsy_IntVec *intvecm, Vint *flag)
intvec Pointer to IntVec object. intvecm Pointer to IntVec object.
flag Matching flag =SYS_OFF Not matching =SYS_ON Matching
vsy_IntVecNextIter,vsy_IntVecInitIter - successively visit each nonzero value
void vsy_IntVecInitIter (vsy_IntVec *intvec) void vsy_IntVecNextIter (vsy_IntVec *intvec, Vint *index, Vint *value)
intvec Pointer to IntVec object.
index Index of next nonzero value value Integer value
vsy_IntVecSet - set a integer value at an index
void vsy_IntVecSet (vsy_IntVec *intvec, Vint index, Vint value)
intvec Pointer to IntVec object. index Index of set value value Integer value
None
Return the value at an index using
void vsy_IntVecGet (const vsy_IntVec *intvec, Vint index, Vint *value)
vsy_IntVecSetParami - set integer vector operation parameters
void vsy_IntVecSetParami (vsy_IntVec *intvec, Vint ptype, Vint iparam)
intvec Pointer to IntVec object. ptype Type of parameter to set =VSY_INCLUDEZERO Validity of zero index, iparam iparam Specifies the integer value that ptype will be set to.
None