Recommended objective-c Math libraries for working

2019-04-08 01:50发布

I'm looking for a good Math library in objective-c that does your usual Matrix Vector and Quaternion tasks for use in conjunction with Core Animation. The library needs to be free for commercial use.

Thanks!

3条回答
等我变得足够好
2楼-- · 2019-04-08 02:24

I don't think you find ObjectiveC math library. I use vfpmathlibrary

查看更多
Viruses.
3楼-- · 2019-04-08 02:35

Eigen is a lightweight C++ linear algebra package which provides could matrix, vector and quaternion support. While I have not used it in anger, it seems to have a much nicer interface than BLAS/LAPACK and supports a bunch of things those libraries don't

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-04-08 02:44

Current versions of iOS include the Accelerate Framework, which includes a large set of accelerated matrix math routines (BLAS, LAPACK, etc.)

Added: You can also use any C math libraries/routines you might have, as Objective C is a compatible superset of ANSI C.

查看更多
登录 后发表回答