{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/eigen-library-linear-algebra/",
  "atlas": "https://www.pystone.net/?node=eigen-library-linear-algebra#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/eigen-library-linear-algebra.md",
  "context": "https://www.pystone.net/notes/eigen-library-linear-algebra.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:eigen-library-linear-algebra",
  "slug": "eigen-library-linear-algebra",
  "title": "使用Eigen库处理线性代数问题",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "使用Eigen库处理线性代数问题",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "70f49f687b407b7be48244130cd03520b09a6675edb6d1f94b5b9e8ccf5f7601",
  "assets": [],
  "headings": [
    {
      "depth": 1,
      "text": "使用Eigen库处理线性代数问题",
      "anchor": "使用eigen库处理线性代数问题",
      "citation": "https://www.pystone.net/notes/eigen-library-linear-algebra/#%E4%BD%BF%E7%94%A8eigen%E5%BA%93%E5%A4%84%E7%90%86%E7%BA%BF%E6%80%A7%E4%BB%A3%E6%95%B0%E9%97%AE%E9%A2%98"
    },
    {
      "depth": 2,
      "text": "Overview",
      "anchor": "overview",
      "citation": "https://www.pystone.net/notes/eigen-library-linear-algebra/#overview"
    },
    {
      "depth": 2,
      "text": "VS Project中配置",
      "anchor": "vs-project中配置",
      "citation": "https://www.pystone.net/notes/eigen-library-linear-algebra/#vs-project%E4%B8%AD%E9%85%8D%E7%BD%AE"
    },
    {
      "depth": 2,
      "text": "Demos",
      "anchor": "demos",
      "citation": "https://www.pystone.net/notes/eigen-library-linear-algebra/#demos"
    },
    {
      "depth": 3,
      "text": "更多相关文章",
      "anchor": "更多相关文章",
      "citation": "https://www.pystone.net/notes/eigen-library-linear-algebra/#%E6%9B%B4%E5%A4%9A%E7%9B%B8%E5%85%B3%E6%96%87%E7%AB%A0"
    },
    {
      "depth": 2,
      "text": "Ref",
      "anchor": "ref",
      "citation": "https://www.pystone.net/notes/eigen-library-linear-algebra/#ref"
    }
  ],
  "claims": [],
  "outgoing": [],
  "incoming": [
    {
      "id": "note:data-algorithms-and-engineering-math",
      "title": "数据算法与工程数学",
      "url": "https://www.pystone.net/notes/data-algorithms-and-engineering-math/",
      "atlas": "https://www.pystone.net/?node=data-algorithms-and-engineering-math#knowledge-atlas",
      "label": "数据算法与工程数学",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "本层中的“使用Eigen库处理线性代数问题”导航项",
      "citation": "https://www.pystone.net/notes/data-algorithms-and-engineering-math/#%E6%9C%AC%E5%B1%82"
    }
  ],
  "contentMarkdown": "# 使用Eigen库处理线性代数问题\n\n> 创建时间：2024/1/14 15:17\n\n## Overview\n\nEigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.\n\nEigen一个重要特点是没有什么依赖的库，本身仅有许多头文件组成，因此非常轻量而易于跨平台。你要做的就是把用到的头文件和你的代码放在一起就可以了。\n\n## VS Project中配置\n\n  1. 下载：http://eigen.tuxfamily.org/index.php?title=Main_Page\n  2. 解压后将Eigen subdirectory解压到方便的位置\n  3. 新建VS Console Project\n  4. 右键相应的Project -> Properties -> Configuration Properties -> C/C++ -> General -> Additional Include Directories 。 将Eigen文件夹的父目录路径加进去\n  5. `#include \"Eigen/Dense\"` 即可开始试用\n\n## Demos\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n### 更多相关文章\n\nhttps://blog.csdn.net/wokaowokaowokao12345/article/details/53397488\nhttps://blog.csdn.net/Lu_gl/article/details/107098388\nhttps://blog.csdn.net/Robot_Starscream/article/details/102306559\n\n## Ref\n\nhttp://eigen.tuxfamily.org/dox/GettingStarted.html\n\nC++矩阵运算库推荐 https://my.oschina.net/cvnote/blog/165340\n"
}
