Cholesky decomposition: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added/changed whitespace and comments, made other cosmetic improvements.)
m (→‎{{header|REXX}}: changed line number to match the new program.)
Line 1,995: Line 1,995:
=={{header|REXX}}==
=={{header|REXX}}==
If trailing zeroes are wanted after the decimal point for values of zero (0), &nbsp; the &nbsp; &nbsp; <big>'''/1'''</big> &nbsp; &nbsp; (division by one performs
If trailing zeroes are wanted after the decimal point for values of zero (0), &nbsp; the &nbsp; &nbsp; <big>'''/1'''</big> &nbsp; &nbsp; (division by one performs
<br>REXX number normalization) &nbsp; can be removed from the line &nbsp; (number 73) &nbsp; which contains the source statement:
<br>REXX number normalization) &nbsp; can be removed from the line &nbsp; (number 40) &nbsp; which contains the source statement:
<br> &nbsp; &nbsp; &nbsp; <code> z=z right( format(@.row.col,, dPlaces) /1, width) </code>
<br> &nbsp; &nbsp; &nbsp; <code> z=z right( format(@.row.col,, dPlaces) /1, width) </code>
<lang rexx>/*REXX program performs the Cholesky decomposition on a square matrix. */
<lang rexx>/*REXX program performs the Cholesky decomposition on a square matrix. */