Python and NumPy
Reuse the training reference on another report
A journey through give a reusable calculation a clear contract with Botie.
Python and NumPy · A journey with Botie
First visit? Learn the workshop controlsBotie's notebook
Making Numerical Routines Reusable Without Losing Their Assumptions
Part 1 of 2
Reusable numerical routines let programmers test one implementation and call it from many calculations. Their usefulness depends on the caller and the routine agreeing about dimensions, units, and valid inputs.