You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > Ramp Method > Vector.Ramp Method (double, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.Ramp Method (double, double)

Fills the calling vector with a series.

Pascal
function Ramp(Offset: double; Step: double): TVec; overload;

Follow the rule: 

 

Values[k] := Offset + k*Step.

If the calling vector is complex, only the real part is set.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!