jmert / AssociatedLegendrePolynomials.jl

A library for calculating the Associated Legendre polynomials
https://jmert.github.io/AssociatedLegendrePolynomials.jl/
MIT License
20 stars 2 forks source link

Provide an interface for using pre-allocated state variables #21

Open jmert opened 4 years ago

jmert commented 4 years ago

Running the recurrence relations require some state be held across iterations, and in general this requires allocating some memory to store the state.

There should be a way of pre-allocating the state variables and allowing that temporary storage to be reused across invocations.