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



GeometricMean


Unit:SDL_matrix
Class: TMatrix, TIntMatrix
Declaration: function GeometricMean (LowCol, LowRow, HighCol, HighRow: integer): double;

The method GeometricMean calculates the geometric mean of all matrix elements within a specific area. The range of the matrix elements to be used is determined by the parameters LowRow, LowCol, HighRow, and HighCol. If any of these elements holds a negative value, an exception is raised.


Last Update: 2008-Okt-29