Jump to content

Reduced row echelon form: Difference between revisions

m
→‎{{header|J}}: Retain the representation of the library code, since it's significant. But de-emphasize it since the user is not required to enter it.
m (→‎{{header|J}}: Retain the representation of the library code, since it's significant. But de-emphasize it since the user is not required to enter it.)
Line 1,955:
The reduced row echelon form of a matrix can be obtained using the <code>gauss_jordan</code> verb from the [http://www.jsoftware.com/wsvn/addons/trunk/math/misc/linear.ijs linear.ijs script], available as part of the <code>math/misc</code> addon. <code>gauss_jordan</code> and the verb <code>pivot</code> are shown below for completeness:
 
'''SolutionImplementation:'''
<syntaxhighlight lang="j" class="mw-collapsible mw-collapsed">NB.*pivot v Pivot at row, column
NB. form: (row,col) pivot M
pivot=: dyad define
Line 1,993:
)</syntaxhighlight>
 
<hr style="clear: both"/>
'''Usage:'''
<syntaxhighlight lang="j"> require 'math/misc/linear'
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.