|Download Help (Windows Only)|
Owning Class: linalgebra
Requires: MathScript RT Module
[r, jb] = rref(a)
[r, jb] = rref(a, tol)
Computes the reduced row echelon form of a matrix with Gaussian elimination using partial pivoting.
|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.|
|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.|
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|
[R, JB] = rref([1, 2; 4, 1])