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

- Sep 19th 2012, 06: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?

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

This works:

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