| NMathFunctionsVariance(DoubleComplexMatrix) Method |
Computes the variance of the matrix columns.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleComplexVector Variance(
DoubleComplexMatrix A
)
Public Shared Function Variance (
A As DoubleComplexMatrix
) As DoubleComplexVector
public:
static DoubleComplexVector^ Variance(
DoubleComplexMatrix^ A
)
static member Variance :
A : DoubleComplexMatrix -> DoubleComplexVector
Parameters
- A DoubleComplexMatrix
- A matrix.
Return Value
DoubleComplexVectorA new vector.
Exceptions Remarks v[j] = (System.Math.pow(A[0,j] - mean, 2) + System.Math.pow(A[i,j] - mean, 2) + ... ) / n
See Also