kbys.net
当前位置:首页 >> EigEn spArsEmAtrix >>

EigEn spArsEmAtrix

[cpp] view plain copy #include #include "Eigen/Sparse" int main() { Eigen::SparseMatrix m(3, 3); std::vector triple; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { triple.push_back(Eigen::Triplet(i, j, 0.1)); } } t...

Makefile 文件如下: OBJS1 = sort.o OBJS2 = myrand.o sort.o slfast_2D.o leasq_sparse.o eigen.o dirplg.o switchsub.o stridip.o OBJS4 = my...

(ws

网站首页 | 网站地图
All rights reserved Powered by www.kbys.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com