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

Fills the calling vector.

Syntax
C#
Visual Basic
public TOpenCLVector Ramp(double Offset, double Step);

Method uses the following rule: 

 

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

 

If the calling vector is complex, only the real part is set.

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