29 using Parameters = Eigen::Matrix<double, -1, 1>;
30 using DiffMatrix = Eigen::Matrix<double, -1, -1>;
43 for (
size_t i = 1, n = 1; i < N; i++) {
74 DiffMatrix D = DiffMatrix::Zero(N, N);
76 for (
size_t i = 1; i < N; i += 2) {
static Weights CalculateWeights(size_t N, double x, double a, double b)
Evaluate Real Fourier Weights of size N in interval [a, b], e.g. N=5 yields bases: 1...
Definition: Fourier.h:64
static DiffMatrix DifferentiationMatrix(size_t N)
Definition: Fourier.h:73
Compute an interpolating basis.
static Weights CalculateWeights(size_t N, double x)
Evaluate Real Fourier Weights of size N in interval [a, b], e.g. N=5 yields bases: 1...
Definition: Fourier.h:40
Definition: chartTesting.h:28
static Weights DerivativeWeights(size_t N, double x, double a, double b)
Get derivative weights at a given x that calculate the derivative, in the interval [a...
Definition: Fourier.h:106
Fourier basis.
Definition: Fourier.h:27
static Weights DerivativeWeights(size_t N, double x)
Get weights at a given x that calculate the derivative.
Definition: Fourier.h:92