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), the <big>'''/1'''</big> (division by one performs |
If trailing zeroes are wanted after the decimal point for values of zero (0), the <big>'''/1'''</big> (division by one performs |
||
<br>REXX number normalization) can be removed from the line (number |
<br>REXX number normalization) can be removed from the line (number 40) which contains the source statement: |
||
<br> <code> z=z right( format(@.row.col,, dPlaces) /1, width) </code> |
<br> <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. */ |