f(x) = a_n * x^n + a_n-1 * x^n-1 + ... + a_0
1 | polyval(coefs, x)
|
coefs |
polynomial coefficients in decreasing order |
x |
vector of values of x at which to evaluate polynomial # @example examples/polyval.R |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.