本征密稀疏矩阵乘积是带螺纹的吗? [英] is eigen dense-sparse matrix product threaded?

查看:96
本文介绍了本征密稀疏矩阵乘积是带螺纹的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道稀疏产品是根据文档编写的:

I know that sparse-dense product is threaded according to the documentation:

https://eigen.tuxfamily.org/dox/TopicMultiThreading.html

那么稀疏呢?

推荐答案

更精确地说,仅当左侧稀疏矩阵是行优先的时,稀疏稠积才是多线程的.相反,如果右侧的稀疏矩阵是列大的,则稠密的稀疏乘积是多线程的.

To be more precise, sparse-dense product is multithreaded only if the left-hand-side sparse matrix is row-major. Conversely, dense-sparse products is multithreaded if the right-hand-side sparse matrix is column-major.

这篇关于本征密稀疏矩阵乘积是带螺纹的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆