see this thread: In Julia, how to create a function that saves its own internal state?
lmiq
3
1 Like
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Define a Julia function | 10 | 848 | February 9, 2022 | |
| "`const static`" function parameters | 31 | 4544 | November 9, 2017 | |
| How to make a function store data to avoid repeating computation | 45 | 2085 | October 17, 2022 | |
| On modules and globals | 14 | 907 | January 8, 2022 | |
| Efficient definition of function which uses fixed allocated constants | 2 | 106 | April 11, 2025 |