Next: General Algorithm
Up: Faster Integral Calculation
Previous: Constructing Moments
The two sets of moments above form two vectors (each of length ten) for each (0)(m). With these, and a matrix
,
whose elements are the coefficients from the earlier expression for Rij, we can form a much simpler matrix form for the (0)(m)s:
Further efficiency is gained by forming
(which depends only on the www-theor and m) and then contracting the product with the necessary
.
The advantage of a matrix form is that the (0)(m)s can now be generated using BLAS-2 and BLAS-3 constructs, which are linear algebra packages highly optimized for a variety of computer platforms.
Ross D. Adamson
1999-01-27