IMSL C# Numerical Library

Covariances.GetIncidenceMatrix Method 

Returns the incidence matrix. Note that the Compute method must be invoked first before invoking this method. Otherwise, the method throws a NullReferenceException exception.

public int[,] GetIncidenceMatrix();

Return Value

An int matrix containing the incidence matrix.

Remarks

If MissingValueMethod is 0, incidence matrix is 1 x 1 and contains the number of valid observations; otherwise, incidence matrix is x.GetLength(1) x x.GetLength(1) and contains the number of pairs of valid observations used in calculating the crossproducts for covariance.

See Also

Covariances Class | Imsl.Stat Namespace