Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

rref (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: linalgebra

Requires: MathScript RT Module

Syntax

[r, jb] = rref(a)

[r, jb] = rref(a, tol)

Description

Computes the reduced row echelon form of a matrix with Gaussian elimination using partial pivoting.

Examples

Inputs

Name Description
a Specifies a real or complex matrix.
tol Specifies the tolerance in the rank test. tol is a positive number. The default is 1e-16*m*n*infnorm, where m is the number of rows in a, n is the number of columns in a, and infnorm is the inf-norm of a. If tol is less than or equal to 0, LabVIEW uses the default value.

Outputs

Name Description
r Returns the reduced row echelon form of a.
jb Returns a vector of indexes such that r(1:len, jb) is the r-by-r identity matrix, where len = length(jb), and a(:, jb) is a basis for the range of a.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

[R, JB] = rref([1, 2; 4, 1])

Related Topics

null
orth
qr
rank
svd


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit