Anonymous user
Cholesky decomposition: Difference between revisions
m
→{{header|REXX}}: added better highlighting, added spacing to match the REXX statement.
(Add Swift) |
m (→{{header|REXX}}: added better highlighting, added spacing to match the REXX statement.) |
||
Line 2,610:
=={{header|REXX}}==
If trailing zeros are wanted after the decimal point for values of zero (0), the <big><big>'''/ 1'''</big></big> (a division by unity performs
<br>REXX number normalization) can be removed from the line (number 40) which contains the source statement:
::::: <b> z=z right( format(@.row.col, , dPlaces) / 1, width) </b>
<lang rexx>/*REXX program performs the Cholesky decomposition on a square matrix & displays results*/
niner = '25 15 -5' , /*define a 3x3 matrix with elements. */
|