Is adding array creation and manipulation routines a good idea? #8
Replies: 4 comments 1 reply
-
Yes, good, we need to discuss this argument because it may explode in complexity, it's a good idea! |
Beta Was this translation helpful? Give feedback.
-
Just to mention something:
|
Beta Was this translation helpful? Give feedback.
-
Sounds good. I could create the issues in framework as new enhancements. |
Beta Was this translation helpful? Give feedback.
-
I'm starting to think about the array library again. I'm wondering if it's good to make a data structure to define a full array or leave some of the definition of the array up to the programmer. A complete data structure would store in memory, along with the data, the size of the array for a 1D array and the number of rows and columns for a 2D array. This would be convenient for the programmer as he/she would not need to keep track of array sizes for each array separately. No need to pass the size of the array to the macro. This can go further and store the type of the array (1D/2D) in the data structure. The alternative is to leave the definition and size of the array up to the programmer. Size would be passed to the macro. Programmer would need to keep track of the size of each array separately and call separate macros for 1D and 2D. Welcoming your thoughts. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Should we add array routines to framework?
3 N dimensional arrays
etc.
Beta Was this translation helpful? Give feedback.
All reactions