NAME
insert_subvec -- insert subset of vector elements
PROTOTYPE
unitptr insert_subvec( int iDim, int iNum, char *pcFmt, unitptr uHost)
ARGUMENTS
- int iDim
- dimension of pattern vector. For iDim=0, the unit will do nothing
- int iNum
- nr of pattern blocks
- char *pcFmt
- format string, use X for to-be-inserted positions, # for to-be-ignored positions, [n] for nominal expansion of values 1,2,..n at this position into one of the first n unit vectors. If instead range a,a+1,..b is to be expanded, use [a:b] instead. Special conventions: [-1] stands for binary range -1,+1, and [1] for 0,1 (instead of the nonsensical unary set 1). Numbers can be used to abbreviate multiple occurrences, e.g., 5X3#2[4]. If pcFmt contains the directive %d, this will indicate to provide the dimension specified by the mask at an additional output field (this is useful for a subsequent remake_unit()).
- unitptr uHost
- host unit
FILE
/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../foldersrc/nst_vector.c