Click or drag to resize

MatrixMathToZeroMean(IMatrixDouble, Double) Method

Calculates the mean value of all matrix elements and then subtracts the mean value from each matrix element, so that the mean value of the resulting matrix is zero.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void ToZeroMean(
	this IMatrix<double> a,
	out double mean
)

Parameters

a  IMatrixDouble
The matrix.
mean  Double
The calculated mean value of the original matrix.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMatrixDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also