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


Class: TVector, TIntVector
Declaration: function GeometricMean (LowElem, HighElem: integer): double;

The method GeometricMean calculates the geometric mean of all elements between LowElem and HighElem (including these border elements). If any of the elements is negative an exception is raised.

Last Update: 2012-Oct-20