11#ifndef QUGAR_IMPL_LAGRANGE_TP_UTILS_HPP
12#define QUGAR_IMPL_LAGRANGE_TP_UTILS_HPP
70 std::vector<real> &basis);
84 Vector<std::vector<real>, dim> &basis_ders);
Class representing a dim-dimensional tensor-product sizes container.
Definition tensor_index_tp.hpp:38
Definition affine_transf.hpp:28
void evaluate_Lagrange_derivative(const Point< dim > &point, const TensorSizeTP< dim > &order, bool chebyshev, Vector< std::vector< real >, dim > &basis_ders)
Evaluates the derivative of the Lagrange basis functions at a given point, along all directions.
void evaluate_Lagrange_basis_1D(real point, int order, bool chebyshev, std::vector< real > &values)
Evaluates the Lagrange basis polynomials in 1D at a given point.
void evaluate_Lagrange_basis(const Point< dim > &point, const TensorSizeTP< dim > &order, bool chebyshev, std::vector< real > &basis)
Evaluates the tensor-product Lagrange basis functions at a given point.
void evaluate_Lagrange_basis_der_1D(real point, int order, bool chebyshev, std::vector< real > &values)
Evaluates the first derivative of the Lagrange basis polynomial in 1D.
double real
Definition types.hpp:18
::algoim::uvector< T, dim > Vector
Class representing a vector.
Definition vector.hpp:31
Vector< T, dim > Point
Class representing a dim-dimensional Point.
Definition point.hpp:34
Definition and implementation of Point class.
Declaration of tensor-product index and size related classes.