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

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

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

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