External module function LMcalc - used by
singleion
This function is optional and intended to accellerate singleion by vectorizing the temperature and
thus save computation resources when using the option -Tsteps. It has the same parameters as
Lcalc with the following modifications:
- double T is replaced by Vector & T containing the temperatures for which
the calculation is to be done.
- Vector & m is replaced by Matrix & L which should be filled with column
vectors containing the angular momentum . Each column corresponds to a temperature given as inputVector & T.