Description Usage Arguments Value See Also Examples
Standard Chebychev approximation of an arbitrary function.
1 2 |
fn |
a function f(x) or f(x,β) for β a list of
function parameters. If the latter, must be coded with second argument a
list names |
range |
the range of the approximation. |
iOrder |
the order of the polynomial approximation. |
iPts |
the number of points at which the approximation is computed. Must
be at least as large as |
fn.opts |
(optional) options passed to |
fn.vals |
the values of |
grid |
(optional) the grid on which the function is to be approximated. |
details |
If |
A function which approximates the input fn over the interval
range
. If details=TRUE
, return is a list with entries
fn, poly, fn.deriv, poly.deriv, residuals
, which are, respectively,
the approximating function, the polynomial desciption over [-1,1], the
derivative of the approximation, the polynomial desciption of the
derivative, and the approximation errors.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.