Redian新闻
>
question regarding standard library
avatar
question regarding standard library# Programming - 葵花宝典
s*p
1
i have a sparse matrix to solve, which need to change a little bit in the
future, will add 1 or 2 non-zero elements or delete 1 or 2 evertime.
i want to use CSR (compressed storage by row) to store it
one way is to implement with three vectors, val, row_ptr, col_idx
but this will give me trouble when i modified the matrix. changing only
several elements I need to re-do the whole procedure.
so I want to use a multimap. which should work very nicely.
then i have one concern, how can i deal with t
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。