{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "71K5G4GNNZ"
    }
  ],
  "body": "\n## Summary\n\nA sparse matrix is a matrix in which most entries are zero.\nSuch matrices are stored by listing only the nonzero entries with their positions, which saves memory.\nAlgorithms that skip the zeros can be much faster than algorithms for general, dense matrices.\nLarge sparse matrices arise from networks, from discretised differential equations and from many problems in data science.\n\n## Explanations\n\n### L1 human\n\nThink of a matrix that records which of a million people know each other.\nEach person knows only a few hundred others, so almost all of the trillion entries are zero.\nStoring all entries would be wasteful; it is enough to store, for each nonzero entry, its row, its column and its value.\nThe [[tridiagonal|DARX1KZRHZ]] and [[band|Z58FRZCF8P]] matrices are simple examples of sparse matrices.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "65F50",
      "15B99"
    ],
    "name": "Sparse matrix",
    "same_as": {
      "wikidata": "Q1050404",
      "wikipedia": "Sparse matrix"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Sparse_matrix"
      }
    ],
    "specializes": [
      "0VD9ZSWWJG"
    ],
    "tag": "JGACZYEEY7"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/JGACZYEEY7/",
  "links": [
    {
      "field": "specializes",
      "target": "0VD9ZSWWJG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/JGACZYEEY7.md",
  "msc": [
    "65F50",
    "15B99"
  ],
  "name": "Sparse matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/JGA/JGACZYEEY7.md",
  "status": null,
  "tag": "JGACZYEEY7",
  "uri": "m2://JGACZYEEY7",
  "url": "https://math2.tamnd.com/wiki/sparse-matrix/",
  "writing": {
    "tag": "JGACZYEEY7",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
