Anonymous user
Lah numbers: Difference between revisions
m
→{{header|REXX}}: added wording to the REXX section header.
m (→{{header|REXX}}: added code to guarantee enough width to show the header for the columns (for small grids), fixed the omission of finding the maximum column width where K=1.) |
m (→{{header|REXX}}: added wording to the REXX section header.) |
||
Line 231:
=={{header|REXX}}==
Some extra code was added to minimize the displaying of the column widths.
Also, code was added to use memoization of the factorials.
<lang rexx>/*REXX pgm computes & display (unsigned) Stirling numbers of the 3rd kind (Lah numbers).*/
parse arg lim . /*obtain optional argument from the CL.*/
|