Talk:Pascal matrix generation: Difference between revisions

m
→‎task clarification: added a note that a note was added.
(apologize and justify "functions")
m (→‎task clarification: added a note that a note was added.)
 
(4 intermediate revisions by 2 users not shown)
Line 6:
: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)
 
:: Should I remove the 2<sup>nd</sup> REXX entry then? &nbsp; ... and will you be marking other entries as "needing improvement" or somesuch? &nbsp; The 2<sup>nd</sup> Rexx entry uses a singular function to generate all three forms of Pascal matrices. &nbsp; However, in its defense, it does read better. &nbsp; But, a lot of whitespace added to the 1<sup>st</sup> REXX version would add a significant vertical whitespace. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 06:14, 17 May 2015 (UTC)
 
::: Well, I started that (after my sloppy reading of the task specs). My function<b>s</b> are pascal & comb although comb is, strictly speaking, not a <b>function</b> :-) --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 07:35, 17 May 2015 (UTC)
 
:How about you add a note? I guess the focus should be on getting comparable entries. What do others think? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 12:53, 17 May 2015 (UTC)
 
:: A note was added to the 2<sup>nd</sup> REXX entry. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:36, 27 March 2016 (UTC)
 
===range of numbers===
Line 18 ⟶ 22:
 
:: The above formula is indeed the method that the REXX versions use, plus a refinement to optimize using the smaller factorial products. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 06:07, 17 May 2015 (UTC)
 
:::I thought you might have but was too lazy to check but then thought it might be good to leave the comment for others so left it. (Such poor justification for laziness, I know).
:::--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 12:58, 17 May 2015 (UTC)
 
:::: Yes, computing the factorial product using the smaller numbers is indeed quite a bit faster. &nbsp; Of course, it only makes a noticeable difference if a large number of factorial products are being computed, or if the numbers being used are on the gihugeic side. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:30, 27 March 2016 (UTC)