M_Rhino_Geometry_Matrix_RowReduce - mcneel/rhinocommon-api-docs GitHub Wiki

Matrix.RowReduce Method (Double, Point3d[], Double)

Row reduces a matrix as the first step in solving M*X=b where b is a column of 3d points.

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

Syntax

C#

public int RowReduce(
	double zeroTolerance,
	Point3d[] b,
	out double pivot
)

VB

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

Parameters

 

zeroTolerance
Type: System.Double
(>=0.0) zero tolerance for pivot test. If the absolute value of a pivot is <= zero_tolerance, then the pivot is assumed to be zero.
b
Type: Rhino.Geometry.Point3d[]
An array of RowCount 3d points that is row reduced with the matrix.
pivot
Type: System.Double
The 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** ⚠️