How is linear algebra used in algorithms?

后端 未结 9 925
生来不讨喜
生来不讨喜 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:22

    All of the answers here are good examples of linear algebra in algorithms.

    As a meta answer, I will add that you might be using linear algebra in your algorithms without knowing it. Compilers that optimize with SSE(2) typically vectorize your code by having many data values manipulated in parallel. This is essentially elemental LA.

提交回复
热议问题