Singular Value Decomposition (SVD) in PHP

后端 未结 6 1483
庸人自扰
庸人自扰 2020-12-15 00:37

I would like to implement Singular Value Decomposition (SVD) in PHP. I know that there are several external libraries which could do this for me. But I have two questions co

6条回答
  •  死守一世寂寞
    2020-12-15 01:08

    Regarding question 1: It definitely is possible. Whether it's reasonable depends on your scenario: How big are your matrices? How often do you intend to run the code? Is it run in a web site or from the command line? If you do care about speed, I would suggest writing a simple extension that wraps calls to the GNU Scientific Library.

提交回复
热议问题