You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A[i] # Returns the ith array in the vector of arrays
A[j, i] # Returns the jth component in the ith array
A[j1, ..., jN, i] # Returns the (j1,...,jN) component of the ith array
which presents itself as a column-major matrix with the columns being the arrays from the vector.
What is the reasoning behind this memory layout? Can one use a tranposed memory layout, i.e. each component is represented by a column? What are the performance implications when trying to access A[j1, :] for max(i) >> max(j), i.e. timeseries data?
Perhaps the answers to those questions should be included in the docs.
The text was updated successfully, but these errors were encountered:
From the docs:
which presents itself as a column-major matrix with the columns being the arrays from the vector.
What is the reasoning behind this memory layout? Can one use a tranposed memory layout, i.e. each component is represented by a column? What are the performance implications when trying to access
A[j1, :]
formax(i) >> max(j)
, i.e. timeseries data?Perhaps the answers to those questions should be included in the docs.
The text was updated successfully, but these errors were encountered: