Stats.ColumnVariances Method

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

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static Vector<double> ColumnVariances(
	this Matrix<double> values
)

Parameters

values  Matrix<Double>
A matrix.

Return Value

Vector<Double>
A vector containing the variances 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<Double>. 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

ArgumentNullException

values is null.

See Also