Fill vector with generated data sequence
BOOL Pattern( double dStartVal, double dEndVal, double dIncVal = 1.0, int nValueRepeat = 1, int nSequenceRepeat = 1, int nFillFrom = -1, int nFillCount = -1 )
TRUE on success, otherwise FALSE
void Pattern_ex() { double dStartVal = 0; double dEndVal = 2; double dIncVal = 0.4; int nValueRepeat = 3; int nSequenceRepeat = 2; int nFillFrom = -1; int nFillCount = -1; vector vRet; if( vRet.Pattern(dStartVal, dEndVal, dIncVal, nValueRepeat, nSequenceRepeat, nFillFrom, nFillCount) ) { int nSize = vRet.GetSize(); for(int ii = 0; ii < nSize; ii++) out_double("", vRet[ii]); } }
origin.h