qixianyu-buaa / eigenchinesedocument Goto Github PK
View Code? Open in Web Editor NEWThis is my translation of Chinese document of Eigen
This is my translation of Chinese document of Eigen
看了官方教程,cg slover可以是matrix-free,但是没明白这是什么意思,是要自己构造一个class而不同eigen官方的matrix?
编译时存在未声明的变量,错误信息如下:
In file included from /home/wtc/Project/EigenChineseDocument/Eigen/chapter3_test.cpp:1:
~/Project/EigenChineseDocument/Eigen/Chapter3_SparseLinearAlgebra/Section1_SparseMatrixManipulations.hpp: In function ‘void Chapter3_SparseLinearAlgebra::Section1_SparseMatrixManipulations::TheSparseMatrixClass()’:
~Project/EigenChineseDocument/Eigen/Chapter3_SparseLinearAlgebra/Section1_SparseMatrixManipulations.hpp:133:42: error: ‘rows’ was not declared in this scope
133 | SparseMatrix<double> mat(rows, cols);
| ^~~~
~/Project/EigenChineseDocument/Eigen/Chapter3_SparseLinearAlgebra/Section1_SparseMatrixManipulations.hpp:133:48: error: ‘cols’ was not declared in this scope; did you mean ‘cosl’?
133 | SparseMatrix<double> mat(rows, cols);
| ^~~~
| cosl
make[2]: *** [CMakeFiles/chapter3_test.dir/build.make:76: CMakeFiles/chapter3_test.dir/chapter3_test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/chapter3_test.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
看起来是文档中的伪代码部分被错误地复制为了可运行的代码部分。我稍后会提一个PR解决这个问题。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.