Talk:Pascal matrix generation

From Rosetta Code
Revision as of 21:07, 16 May 2015 by rosettacode>Gerard Schildberger (added two talk sections.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

task clarification

When this Rosetta Code task asked     ··· to write functions ···     it seemed to imply to write a function for each form of the Pascal matrices.   Is the coding of a singular function to generate all three forms of Pascal matrices acceptable? -- Gerard Schildberger (talk) 21:07, 16 May 2015 (UTC)

range of numbers

Because the Pascal symmetric matrix uses     i+j     in the computation of the binomial coefficients (combinations), the calculation of the factorials can exceed the (default) maximum amount for some computer programming languages (number types) unless specified otherwise.   I found that with REXX's default digits of   9,   it lead to generating numbers that weren't integers   (close, but no cigar)   with a matrix size of   11.   It would be interesting to know what the (practical) limitations of each language entry is, if any   (as far as generating exact integers). -- Gerard Schildberger (talk) 21:07, 16 May 2015 (UTC)