pymiediff.special.pi_tau#
- pymiediff.special.pi_tau(n: int, mu: Tensor)#
angular functions tau and pi up to order n
calculated by recurrence relation
- Parameters:
n (torch.Tensor or int) – order, use max(n) if a tensor.
mu (torch.Tensor) – cosine of the angle
- Returns:
turple of both results (pi and tua)
- Return type:
turple