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....


Unit: SDL_matrix
Class: TMat4D
Declaration: procedure Fill (value: double);

The method Fill sets all elements of a matrix to value.

Hint: The class TMat4D has no explicit method to clear the elements of the matrix. In order to reset all elements to zero values, the method Fill should be used.

Example: The statement Mat.Fill(0.0); clears all elements of the four-dimensional hypercube matrix Mat.

Last Update: 2015-Mai-11