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

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

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

Following the rule:

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

 

The Offset is complex, but the step is real.

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