Click or drag to resize

MatrixRowReduce Method (Double, Double, Double)

Row reduces a matrix to calculate rank and determinant.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int RowReduce(
	double zeroTolerance,
	out double determinant,
	out double pivot


Type: SystemDouble
(>=0.0) zero tolerance for pivot test. If a the absolute value of a pivot is <= zeroTolerance, then the pivot is assumed to be zero.
Type: SystemDouble
value of determinant is returned here.
Type: SystemDouble
value of the smallest pivot is returned here.

Return Value

Type: Int32
Rank of the matrix.
The matrix itself is row reduced so that the result is an upper triangular matrix with 1's on the diagonal.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also