torch_harmonics.quadrature.clenshaw_curtiss_weights#
- torch_harmonics.quadrature.clenshaw_curtiss_weights(n, a=-1.0, b=1.0)[source]#
Computation of the Clenshaw-Curtis quadrature nodes and weights. This implementation follows
- Parameters:
- Returns:
tcc (torch.Tensor) – Tensor of quadrature nodes
wcc (torch.Tensor) – Tensor of quadrature weights
- Return type:
References
[5]