Version

Variance(Matrix,Int32,StatisticsType) Method

Returns a Matrix with the variance of x along the Nth dimension.
Syntax
'Declaration
 
Public Overloads Shared Function Variance( _
   ByVal x As Matrix, _
   ByVal N As Integer, _
   ByVal stat As StatisticsType _
) As Matrix
public static Matrix Variance( 
   Matrix x,
   int N,
   StatisticsType stat
)

Parameters

x
A Matrix.
N
The calculation dimension.
stat
The type of statistic desired.

Return Value

A Matrix y, where y equals the variance of x along the Nth dimension.
Exceptions
ExceptionDescription
System.ArgumentExceptionOccurs when N is less than 1.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also