How to calculate a constant the first time a function is called?

see this thread: In Julia, how to create a function that saves its own internal state?

1 Like