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

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

Pascal
function Ramp(const Offset: double; const Step: double; const Index: integer; const Len: integer): TVecInt; overload;

Method uses the following rule: 

 

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

 

 

An exception is raised if calling vector array borders are overrun.

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