Hey this is a Maple 16 question.

With a given set of pairs S:={[1, 1], [2, 1], [2, 2], [3, 1]...} and a procedure f:=proc(x,y) that has two input variables how can I execute the procedure for each pair in S?

Printable View

- September 19th 2012, 05:06 AMeulcerMaple Procedure Input Question
Hey this is a Maple 16 question.

With a given set of pairs S:={[1, 1], [2, 1], [2, 2], [3, 1]...} and a procedure f:=proc(x,y) that has two input variables how can I execute the procedure for each pair in S?

- September 20th 2012, 04:56 AMeulcerRe: Maple Procedure Input Question
Someone helped me on mapleprimes.

This works:

seq(f(op(S[i])), i=1..nops(S)).