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

Fills the calling vector elements [Index]..[Index+Len-1] with a series.

Pascal
function Ramp(Offset: TCplx; Step: TCplx; Index: integer; Len: integer): TVec; overload;

Follow the rule: 

 

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

If the calling vector is complex, only the real part is set. An exception is raised if array borders of the calling vector are overrun.

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