Helper routine which returns the Legendre-Gauss nodes and weights
on the interval [a, b]
- Parameters:
n (int) – Number of quadrature nodes
a (Optional[float]) – Lower bound of the interval
b (Optional[float]) – Upper bound of the interval
- Returns:
-
- Return type:
Tuple[Tensor, Tensor]