Talk:Pascal matrix generation: Difference between revisions

Content added Content deleted
(added two talk sections.)
 
Line 2: Line 2:


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? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:07, 16 May 2015 (UTC)
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? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:07, 16 May 2015 (UTC)

:Individual functions was my intention. Is there really that much to gain by having one function parametrised with the output required?
:I guess if there is documented language style for having one parameterised function in a similar area then it might be good to reference the standard library function(s) that you copying the style of then have the one function, but three functions is what the task expects. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:37, 17 May 2015 (UTC)


===range of numbers===
===range of numbers===