Note that this initializes every element to the same empty array. If you want to initialize them to distinct empty arrays you should use a comprehension. See Initialize array of arrays - #2 by GunnarFarneback
stevengj
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Matrix interpolations | 1 | 1442 | December 5, 2019 | |
| Translating some Python code: Vector of interpolations? | 3 | 229 | June 14, 2023 | |
| Pre allocating interpolant with Interpolations.jl | 5 | 306 | April 11, 2024 | |
| Interpolating into a series of matrices | 9 | 1524 | September 16, 2020 | |
| Interpolation into array rather than from array | 15 | 1420 | November 26, 2022 |