【问题标题】:How to find Euclidean Norm of rows of a matrix with BLAS?如何使用 BLAS 找到矩阵行的欧几里得范数?
【发布时间】:2013-07-03 15:08:25
【问题描述】:

我有一个矩阵 M,我需要计算其行的欧几里得范数。是否可以将 BLAS 库的效率用于此目的?

【问题讨论】:

    标签: matrix blas euclidean-distance


    【解决方案1】:

    是的,您可以将NRM2 系列函数中的一个单独应用于每一行。

    【讨论】:

    • @Erogol 不,我不认为有任何单个函数调用来计算所有行。
    猜你喜欢
    • 2017-01-05
    • 2018-05-11
    • 1970-01-01
    • 2014-11-18
    • 2019-01-02
    • 1970-01-01
    • 2021-04-23
    • 1970-01-01
    • 2015-01-13
    相关资源
    最近更新 更多