使用 Accelerate 框架进行代数
在观看关于加速框架的 WWDC 视频后,我看到它有两个包,分别称为 BLAS 和 LAPACK。当他们谈论 BLAS 时,听起来这不是我想要的,但是,LAPACK(他们的标题为“线性代数包”)听起来像是我想做的。
您可以使用这两个框架中的第二个框架 LAPACK 来执行解方程、因式分解和其他基本代数运算等功能吗? - 让我困惑的是,当我查看苹果文档时,他们对 LAPACK 的参考很少。
正如你在这里看到的,他们有关于 BLAS 而不是 LAPACK 的文档,
如果有人了解加速框架可以启发我这个主题,因为我对此一无所知!
After watching the WWDC video on the accelerate framework, I saw that it had two packages called BLAS and LAPACK. When they talked about BLAS, it sounded like that wasn't what I wanted however, LAPACK, which they caption "Linear algebra package", sounds like it does what I want to do.
Could you use the second of these two frameworks, LAPACK, to perform functions such as solving equations, factorising, and other basic algebraic operations? - What puzzled me is when I looked in the apple docs, they have very little reference to LAPACK.
As you can see here, they have docs on BLAS and not LAPACK
I would be grateful if someone who knows about the accelerate framework could enlighten me on the topic because I know nothing about it!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
LAPACK 和 BLAS 提供高性能数值线性代数例程。特别是,它们用于执行以下操作:
从你的问题中很难看出,但听起来你想做的是符号代数,比如将
x^2 + 4x + 4
分解为( x + 2)(x + 2)。是这样吗?如果是这样,BLAS 和 LAPACK 对你来说就没有多大用处了。如果没有,您能澄清一下您想要解决什么样的问题吗?
请注意,Apple 很少记录 BLAS 和 LAPACK,因为它们是高度标准化的接口;已经有大量的公共文档可以在线获取并以书籍形式提供。
LAPACK and BLAS provide high-performance numerical linear algebra routines. In particular, they are used to do things like:
It's hard to tell from your question, but it sounds like what you want to do is symbolic algebra, things like factoring
x^2 + 4x + 4
as(x + 2)(x + 2)
. Is that right? If so, BLAS and LAPACK will not be of much use to you. If not, can you clarify what sort of problems you do want to solve?Note that BLAS and LAPACK are sparsely documented by Apple because they are highly standardized interfaces; there is an enormous amount of public documentation already available online and in book form.