Evaluates the rational or polynomial approximation stored in mmA at x.
UTF-8
minimaxEval(x, mmA, basis ="Chebyshev")
Arguments
x: a numeric vector
mmA: a "minimaxApprox" return object
basis: character; Which polynomial basis to use in to evaluate the function; see minimaxApprox for more details. If Chebyshev is requested but the analysis used only monomials, the calculation will proceed using the monomials with a message. The default is "Chebyshev", and the parameter is case-insensitive and may be abbreviated.
Details
This is a convenience function to evaluate the approximation at x.
Returns
A vector of the same length as x containing the approximated values.