#include "petscdt.h" PetscErrorCode PetscDTJacobiNorm(PetscReal alpha, PetscReal beta, PetscInt n, PetscReal *norm)$\| P^{\alpha,\beta}_n \|_{\alpha,\beta}^2 = \int_{-1}^1 (1 + x)^{\alpha} (1 - x)^{\beta} P^{\alpha,\beta}_n (x)^2 dx.$
alpha | - the left exponent > -1 |
beta | - the right exponent > -1 + n - the polynomial degree |
norm | - the weighted L2 norm |