How is linear algebra used in algorithms?

后端 未结 9 934
生来不讨喜
生来不讨喜 2021-01-31 11:05

Several of my peers have mentioned that \"linear algebra\" is very important when studying algorithms. I\'ve studied a variety of algorithms and taken a few linear algebra cour

9条回答
  •  有刺的猬
    2021-01-31 11:14

    For example what interesting things can one with a connectivity matrix for a graph?

    A lot of algebraic properties of the matrix are invariant under permutations of vertices (for example abs(determinant)), so if two graphs are isomorphic, their values will be equal.

    This is a source for good heuristics for determining whether two graphs are not isomorphic, since of course equality does not guarantee existance of isomorphism.

    Check algebraic graph theory for a lot of other interesting techniques.

提交回复
热议问题