Click or drag to resize
Accord.NET (logo)

CholeskyDecompositionInverseDiagonal Method (Double, Boolean)

Computes the diagonal of the inverse of the decomposed matrix.

Namespace:  Accord.Math.Decompositions
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
public double[] InverseDiagonal(
	double[] result,
	bool destroy = false
Request Example View Source


Type: SystemDouble
The array to hold the result of the computation. Should be of same length as the the diagonal of the original matrix.
destroy (Optional)
Type: SystemBoolean
True to conserve memory by reusing the same space used to hold the decomposition, thus destroying it in the process. Pass false otherwise.

Return Value

Type: Double
See Also