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



NormalizeRows


Unit:SDL_openarrays
Class: none
Declaration: function NormalizeRows (var Arr: TDouble2DArray): integer;

The function NormalizeRows transforms all rows of the array Arr such that the row vectors exhibit unit length. The function returns a zero value if all rows could be processed or a -1 value if at least one row could not be processed (i.e. a row contained only zero values).



Last Update: 2023-Feb-06