Skip to content

Can't create large matrix (more than 173_589 elements) #1307

Answered by Ralith
EnvOut asked this question in Q&A
Discussion options

You must be logged in to vote

Use a DVector instead. SVectors store elements on the stack, which has limited space. Even if it fit, you wouldn't want to use a large SVector in most cases because it will be disproportionately expensive to move around.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EnvOut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants