LevelS SHT library  3.50
Functions
sharp_legendre_roots.h File Reference

Go to the source code of this file.

Functions

void sharp_legendre_roots (int n, double *x, double *w)
 

Detailed Description

Copyright (C) 2006-2012 Max-Planck-Society

Author
Martin Reinecke

Definition in file sharp_legendre_roots.h.

Function Documentation

◆ sharp_legendre_roots()

void sharp_legendre_roots ( int  n,
double *  x,
double *  w 
)

Computes roots and Gaussian quadrature weights for Legendre polynomial of degree n.

Parameters
nOrder of Legendre polynomial
xArray of length n for output (root position)
wArray of length w for output (weight for Gaussian quadrature)

Definition at line 16 of file sharp_legendre_roots.c.


Generated on Mon Dec 10 2018 10:24:20 for LevelS SHT library