Stats.ColumnMeans<T> Method

Returns a vector containing the means of the columns of a matrix.

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Vector<T> ColumnMeans<T>(
	this Matrix<T> values
)

Parameters

values  Matrix<T>
A matrix.

Type Parameters

T

Return Value

Vector<T>
A vector containing the means of the columns of values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix<T>. 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).

Exceptions

ArgumentNullExceptionvalues is null.

See Also