Skip to content
Prev 248319 / 398506 Next

Multivariate polynomials Howto

Good Evening,
I would like to work with multivariate polynomials (x and y variables).
I know that there is a package called multipol but I am not sure that supports my needs.

I use a function (in reality legendre.polynomials) which creates me the polynomials I want.
For example the following returns
x  (first order polynomial)

I would like to calculate the polynomials with variable x with the polynomials with variable y. I do not know how I can do that in R as my function always returns output with x. Is it possible to change variable x with y?

Regards
Alex