Description Usage Arguments Value Author(s) References Examples
Calculate polynomial following IDL's poly.pro function
1 | polyidl(x,cc)
|
x |
scalar, vector or array |
cc |
vector of polynomial coefficients for polynomial of degree length(cc)-1 |
This function returns the quantity
cc[1] + cc[2]*x + cc[3]*x^2 + cc[4]*x^3 + ...
Eric Feigelson July 2014
See http://www.exelisvis.com/docs/POLY.html
1 | polyidl(2:4, 3:5) # returns 31,60,99
|
[1] 31 60 99
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.