|
|
|
|
|
by Const-me
1999 days ago
|
|
I’m not saying B+ tree is the best structure for them. Just another one to consider. Which one is the best depends on use case. I used these trees in the code that builds large sparse matrices from something else. The domain was CAM/CAE, it was finite elements. As a nice side effect, with one tree per row I was able to parallelize the construction of that matrix, as different CPU cores can update different rows of the matrix in parallel. |
|
Regarding the construction of the matrix, instead of insertions very often you can do it with tricks using kronecker products and the like.