You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > TMtxVecInt.Ramp Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.Ramp Method

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

Pascal
function Ramp(Offset: double; Step: double; Index: integer; Len: integer): TMtxVecInt; 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!