Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just an alternative:

sage: P = function('P')
sage: var('x,y')
sage: S(x) = sum(P(x,y),y,0,1)
sage: S(2)
P(2, 0) + P(2, 1)

Just an alternative:

sage: P = function('P')
sage: x,y = var('x,y')
sage: S(x) = sum(P(x,y),y,0,1)
sage: S(2)
P(2, 0) + P(2, 1)