|
Mechanics of Defect Evolution Library
|
A static class template for generating quadrature abcsissas and weights for arbitrary-order and rule in dimension 1. More...
#include <QuadratureRecursiveRelation.h>
Public Types | |
| enum | { dim =1 } |
Static Public Member Functions | |
| template<typename PolynomialType> | |
| static Eigen::MatrixXd | abcsissasAndWeights (const int &qOrder) |
A static class template for generating quadrature abcsissas and weights for arbitrary-order and rule in dimension 1.
For a given quadrature rule (eg. Gauss-Legendre, Gauss-Chebyshev...), abscissas and weights can be coputed from the coefficients of the recursive relation that define the orthogonal polynomials of that rule. Recursive relations are in the form:
\[ P_n(x) = (A_n*x+B_n) * P_{n-1} - C_n * P_{n-2} \]
The actual coefficients \(A_n\), \(B_n\) and \(C_n\)
References:
Definition at line 42 of file QuadratureRecursiveRelation.h.
| anonymous enum |
| Enumerator | |
|---|---|
| dim | |
Definition at line 45 of file QuadratureRecursiveRelation.h.
|
inlinestatic |
Definition at line 49 of file QuadratureRecursiveRelation.h.