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



AbsValArray


Unit:SDL_openarrays
Class: none
Declaration: [1] function AbsValArray (var Arr: TIntArray): integer;
[2] function AbsValArray (var Arr: TInt2DArray): integer;
[3] function AbsValArray (var Arr: TInt3DArray): integer;
[4] function AbsValArray (var Arr: TInt4DArray): integer;
[1] function AbsValArray (var Arr: TDoubleArray): integer;
[2] function AbsValArray (var Arr: TDouble2DArray): integer;
[3] function AbsValArray (var Arr: TDouble3DArray): integer;
[4] function AbsValArray (var Arr: TDouble4DArray): integer;

The function AbsValArray builds the absolute value of all elements of the array Arr.

The function returns the following error codes:

 0 ... everything is OK
-1 ... Arr has zero size



Last Update: 2017-Nov-24