heateqn_nb
Functions used to solve the heat equation using NumbaMinpack’s hybrd function. This gives significant performance boosts over scipy’s fsolve(hybrd = True).
For the version of heateqn used with Scipy’s optimize.fsolve, see /physics/heateqn.
These are kept separate as there is significantly more complexity required to get the inputs in the correct format for this version, and the requirement to not return anything (whereas scipy.optimize.fsolve requires a return value)
Attributes
Functions
|
|
|
|
|
a: sub-diagonal (len n-1), A[i, i-1] |
Module Contents
- heateqn_nb.heateqn
- heateqn_nb.heateqn_lid