gpt4 book ai didi

javascript - 我将如何在 JavaScript 中实现 MATLAB 的 "eig(A, B)"函数

转载 作者:行者123 更新时间:2023-11-29 16:58:17 26 4
gpt4 key购买 nike

<分区>

根据 MA​​TLAB 的 documentation :

[V,D] = eig(A,B) returns diagonal matrix D of generalized eigenvalues and full matrix V whose columns are the corresponding right eigenvectors, so that A*V = B*V*D.

当我阅读可用的源代码时(似乎我看过 Octave、R、Scipy 的所有实现)导致 LAPACK 的 DGGEV 例程,这在 JavaScript 中不可用。

兔子洞包括Use Emscripten with Fortran: LAPACK binding并学习足够的 Fortran 和线性代数来自己完成。

有人知道更容易访问的东西吗?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com