Talk:Sum of squares: Difference between revisions

From Rosetta Code
Content added Content deleted
(good idea: function composition anyone?)
(Not really a function)
Line 2: Line 2:
:I think not. The sum-and-product task lets us see how these functions are specified, but they don't let us see them in relationship with another function. The point of sum-fo-squares, it seems to me, is to let us see how basic function composition occurs. It takes more than one function to show that. --[[User:TBH|TBH]] 10:01, 28 January 2008 (MST)
:I think not. The sum-and-product task lets us see how these functions are specified, but they don't let us see them in relationship with another function. The point of sum-fo-squares, it seems to me, is to let us see how basic function composition occurs. It takes more than one function to show that. --[[User:TBH|TBH]] 10:01, 28 January 2008 (MST)
::If that is the goal, perhaps a [[function composition]] task would be appropriate. --[[User:IanOsgood|IanOsgood]] 10:07, 28 January 2008 (MST)
::If that is the goal, perhaps a [[function composition]] task would be appropriate. --[[User:IanOsgood|IanOsgood]] 10:07, 28 January 2008 (MST)
::I don't think this counts as function composition. This is just accumulation, which is why I think it's similar to the sum and product. The capital sigma and capital pi symbols in math aren't really functions, and this task would use a capital sigma in its definition. --[[User:Mwn3d|Mwn3d]] 10:39, 28 January 2008 (MST)

Revision as of 17:39, 28 January 2008

Is this too similar to Sum and product of array? --Mwn3d 22:42, 27 January 2008 (MST)

I think not. The sum-and-product task lets us see how these functions are specified, but they don't let us see them in relationship with another function. The point of sum-fo-squares, it seems to me, is to let us see how basic function composition occurs. It takes more than one function to show that. --TBH 10:01, 28 January 2008 (MST)
If that is the goal, perhaps a function composition task would be appropriate. --IanOsgood 10:07, 28 January 2008 (MST)
I don't think this counts as function composition. This is just accumulation, which is why I think it's similar to the sum and product. The capital sigma and capital pi symbols in math aren't really functions, and this task would use a capital sigma in its definition. --Mwn3d 10:39, 28 January 2008 (MST)