gmpolyEval | R Documentation |
Evaluates a gmpoly
multivariate polynomial for given
values of the variables.
gmpolyEval(pol, x)
pol |
a |
x |
either a |
A bigq
number or vector.
library(gmpoly) library(gmp) pol <- gmpoly("5/2 x^(2,3) + 3 x^(1,1)") gmpolyEval(pol, as.bigq(c(1, 1))) x <- rbind( t(as.bigq(c(1, 1))), t(as.bigq(c(3, 4), c(4, 3))) ) gmpolyEval(pol, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.