Loading [MathJax]/extensions/TeX/newcommand.js
 deal.II version GIT relicensing-2536-g0197265e2b 2025-02-03 21:40:00+00:00
\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}} \newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=} \newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]} \newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
Functions
internal::QGaussLobatto Namespace Reference

Functions

long double gamma (const unsigned int n)
 
std::vector< long double > compute_quadrature_weights (const std::vector< long double > &x, const int alpha, const int beta)
 

Function Documentation

◆ gamma()

long double internal::QGaussLobatto::gamma ( const unsigned int  n)

Evaluate the Gamma function \Gamma(n) = (n-1)! .

Parameters
npoint of evaluation (integer).

Definition at line 103 of file quadrature_lib.cc.

◆ compute_quadrature_weights()

std::vector< long double > internal::QGaussLobatto::compute_quadrature_weights ( const std::vector< long double > &  x,
const int  alpha,
const int  beta 
)

Compute Legendre-Gauss-Lobatto quadrature weights. The quadrature points and weights are related to Jacobi polynomial specified by alpha, beta. x denotes the quadrature points.

Returns
Vector containing weights.

Definition at line 121 of file quadrature_lib.cc.