Increase maximum number of array dimensions?
See original GitHub issueAt my lab, we’re working with arrays with very many dimensions. We’ve run up against the hardcoded limit of 32 dimensions for np.array
s. What is the rationale for this limit, and is it possible to increase it? Thanks!
Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:18 (11 by maintainers)
Top Results From Across the Web
Is there a max array length limit in C++? - Stack Overflow
No, C++ does not impose any limits for the dimensions of an array. ... memory alignment (to increase performance, elements are placed at ......
Read more >Maximum size of an array - general - CodeChef Discuss
can anyone tell me what is the maximum size of different types(bool,int,long long …etc ) of array (or vector) we can take in...
Read more >Increase limit on Matrix size - MATLAB Answers - MathWorks
Hi,. Presently matlab has put a limit of 10k on max array dimension. Matlab is not allowing me to use more than that....
Read more >How to increase the maximum array size allowed in Matlab?
Preferences>>Workspace>> Matlab array size limit (check box off.) Finally, right click on my computer>>properties>>Advance system setting>>Advanced ...
Read more >Maximum length of Strictly Increasing Sub-array after ...
and the maximum length of its strictly increasing subarray is 4. Input: arr[] = {1, 2} Output: 2. The complete array is already...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you considered using xarray, which lets you name your dimensions, meaning you do not need to insert padding dimensions of length 1?
I suspect that the original 32 came from
2*32
for 32 bit systems, so 64 might be the proper number forMAX_DIM
these days, although actual memory address buses were about 48 bits last time I looked.