Are you talking about something like this?
NB. x + y + 2xy -x^3
example=: 0&{ + 1&{ + (2 * 0&{ * 1&{) - 3 ^~ 0&{
NB. matrix of coefficients
NB. dimension 0: powers of x
NB. dimension 1: powers of y
mat=: 1 1 2 _1 (1 0;0 1;1 1;3 0)} 4 2$0
mvp=: [ +/^:_@:*"_ _1 [: > [: */"_1&.>/ ] <@(^/ i.)"_1 [EMAIL PROTECTED]
example i.2 9
9 30 49 60 57 34 _15 _96 _215
mat mvp i.2 9
9 30 49 60 57 34 _15 _96 _215
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm