Giter Site home page Giter Site logo

eigenchinesedocument's People

Contributors

qixianyu-buaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eigenchinesedocument's Issues

编译错误问题

Subject

编译时存在未声明的变量,错误信息如下:

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解决这个问题。

我的环境

  • Ubuntu 20.04
  • Eigen 3.3.7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.