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



EdgeVector


Unit: SDL_openarrays
Class: none
Declaration: [1] function EdgeVector (Src: TInt2DArray; Orient: TOrientation; EdgeOp: TEdgeOp; var Dest: TDoubleArray): integer;
[2] function EdgeVector (Src: TDouble2DArray; Orient: TOrientation; EdgeOp: TEdgeOp; var Dest: TDoubleArray): integer;

Depending on the parameter EdgeOp the function EdgeVector calculates the minimum, the maximum, the sum, or the mean of all columns (Orient = orHoriz) or all rows (Orient = orVert) of the array Src. The results are stored in the array Dest, whose size is automatically adjusted to the corresponding edge of the Src array.

The function returns -1 if Src has no size, otherwise a zero value is returned.



Last Update: 2018-Nov-23