The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FillSerial


Unit:SDL_vector
Class: TVector, TIntVector
Declaration: procedure FillSerial (Offset, Diff: double); { class TVector }
procedure FillSerial (Offset, Diff: integer); { class TIntVector }

The method FillSerial fills a vector with an arithmetic series, starting with the value Offset, and incrementing the subsequent values by adding the constant Diff.

For example the statement Vec.FillSerial (20, -0.5); fills the vector Vec with the series 20.0, 19.5, 19.0, 18.5, 18.0, ....  



Last Update: 2023-Feb-10