QchebApproximation Method |
Compute the 12th-order and 24th-order Chebyshev approximations for the function f
on the interval [a, b]. The computed coefficients are written
into the supplied cheb12 and cheb24 arrays. This static helper
allocates temporary working storage for each call.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static void Approximation(
Func<double, double> f,
double a,
double b,
double[] cheb12,
double[] cheb24
)
Parameters
- f FuncDouble, Double
- The function to approximate.
- a Double
- Lower bound of the approximation interval.
- b Double
- Upper bound of the approximation interval.
- cheb12 Double
- Array to receive the 12th-order Chebyshev coefficients (length at least 13).
- cheb24 Double
- Array to receive the 24th-order Chebyshev coefficients (length at least 25).
See Also