chebyshev: Approximate a function by Chebyshev polynomials and find...

get_chebyshev_coeffsR Documentation

Approximate a function by Chebyshev polynomials and find proxy roots

Description

Approximate a function by Chebyshev polynomials and find proxy roots

Usage

get_chebyshev_coeffs(fun, n, from = 0, to = 1, ...)

find_chebyshev_roots(a, from = 0, to = 1)

eval_chebyshev_poly(a, x, from = 0, to = 1)

Arguments

fun

function to evaluate

n

degree of Chebyshev polynomial

from, to

the interval for the input argument

...

other arguments passed to a function

a

numeric vector of Chebyshev coefficients

x

numeric vector of values X to evaluate approximating polynomials for

Value

a vector of Chebyshev polynomial coefficients

Examples

get_chebyshev_coeffs(qpd::fexp, lambda=0.25, n=5)

dmi3kno/qpd documentation built on Sept. 29, 2024, 6:39 p.m.