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.... 
Home MathPack Matrix Classes TIntMatrix, TMatrix and TMat3D Methods MeanVec  
See also: MeanVar, EdgeVector (Matrix), EdgeVector (OpenArrays)  
MeanVec 

The method MeanVec calculates the vector of row or column means of the matrix. The parameter Dim controls along which dimension of the array the means are calculated; it may assume either dimX or dimY. In the first case the parameter Means is loaded with the column means, in the second case the row means are calculated and stored in Means. The size of the vector Means is automatically adjusted to the number of columns or rows (depending on Dim).
