You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > Ramp Method > clVector.Ramp Method (TCplx, TCplx, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.Ramp Method (TCplx, TCplx, int, int)

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

Syntax
C#
Visual Basic
public TOpenCLVector Ramp(TCplx Offset, TCplx Step, int Index, int Len);

Following 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!