# PetscDTJacobiNorm
Compute the weighted L2 norm of a Jacobi polynomial. 
## Synopsis
```
#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.$


## Input Parameters

- ***alpha -*** the left exponent > -1


- ***beta -*** the right exponent > -1
+ n - the polynomial degree



## Output Parameter

- ***norm -*** the weighted L2 norm





## See Also
 `PetscQuadrature`, `PetscDTJacobiEval()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/interface/dt.c.html#PetscDTJacobiNorm">src/dm/dt/interface/dt.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dt.c)


[Index of all DT routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
