M_Rhino_Geometry_Matrix_RowReduce_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Matrix.RowReduce Method (Double, Double, Double)

Row reduces a matrix to calculate rank and determinant.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int RowReduce(
	double zeroTolerance,
	out double determinant,
	out double pivot
)

VB

Public Function RowReduce ( 
	zeroTolerance As Double,
	<OutAttribute> ByRef determinant As Double,
	<OutAttribute> ByRef pivot As Double
) As Integer

Parameters

 

zeroTolerance
Type: System.Double
(>=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.
determinant
Type: System.Double
value of determinant is returned here.
pivot
Type: System.Double
value of the smallest pivot is returned here.

Return Value

Type: Int32
Rank of the matrix.

Remarks

The matrix itself is row reduced so that the result is an upper triangular matrix with 1's on the diagonal.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Matrix Class
RowReduce Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️