TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
chebyshev.hpp
#include <nda/nda.hpp>
#include <cmath>
#include <numbers>

Detailed Description

Provides utilities for Chebyshev polynomial computations.

Definition in file chebyshev.hpp.

Go to the source code of this file.

Functions

nda::vector< double > triqs::utility::chebyshev_barycentric_weights (long N)
 Compute barycentric weights for Chebyshev points of the first kind.
nda::vector< double > triqs::utility::chebyshev_points (long N)
 Compute Chebyshev points of the first kind on the interval \( [-1, 1] \).
double triqs::utility::from_standard_interval (double x, double a, double b)
 Scale a value from the standard interval \( [-1, 1] \) to interval \( [a, b] \).
double triqs::utility::to_standard_interval (double x, double a, double b)
 Scale a value from interval \( [a, b] \) to the standard interval \( [-1, 1] \).