Multipole moments
- Add function to determine the multipole moments of a wire up to a given order (translated from Garfield subroutine
EFMWIR
). Translated Garfield subroutineLSQFIT
(least-squares minimization), CERNLIB routinedinv
(matrix inversion), and evaluation of Legendre polynomials.