You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Ramp Method > clVector.Ramp Method ()
MtxVec VCL
ContentsIndex
Example
var a: clVector; begin a.Size(5,True); a.Ramp(0,PI); a.Sin; end;

 

which is identical to: 

 

a.Size(5,True); for i:= 0 to a.Length-1 do a[i] := sin(i*PI);
Copyright (c) 1999-2025 by Dew Research. All rights reserved.