C libraries-LAPACK MEPL EIGEN

4 ビュー (過去 30 日間)
ANAGHA GOURI
ANAGHA GOURI 2017 年 12 月 25 日
コメント済み: Walter Roberson 2018 年 1 月 16 日
I am finding it difficult to learn about C libraries-LAPACK MEPL EIGEN. Please help me find good references.
  11 件のコメント
ANAGHA GOURI
ANAGHA GOURI 2018 年 1 月 16 日
In daxpy(),isn't parameter DA specify the scalar alpha. But 1/max(B) is a vector. So how will it calculate alpha*x+y with 1/max(B) as the "alpha" parameter, B(:) as the x parameter, and the vector of zeros as the "y" parameter?
Walter Roberson
Walter Roberson 2018 年 1 月 16 日
I did not notice at the time of the original post that you were not asking for the maximum over the entire matrix. I later updated with "there are no LAPACK or BLAS calls for scalar multiplication or division on a per-column basis."

サインインしてコメントする。

採用された回答

Jan
Jan 2017 年 12 月 29 日
Is there a LAPACK or CBLAS function that can be used to normalise
an m by n matrix ?
A=abs(B/max(B)); %B is m by n matrix
No, there is no LABACK or CBLAS function for this. Do you mean
A = abs(B / max(B(:))) % The (:) is essential
% Or
A = abs(B ./ max(B)) % The ./ is essential
Is there a LAPACK or CBLAS function that can be used to
find log10 of an m by n matrix?
A = 10*log10(B);
No, there is no LAPACK or BLAS function for this. The shown code is efficient already.
  8 件のコメント
ANAGHA GOURI
ANAGHA GOURI 2018 年 1 月 10 日
I used dgemm() for matrix matrix multiplication. Is there a LAPACK or CBLAS function to perform element by element multiplication??
Walter Roberson
Walter Roberson 2018 年 1 月 10 日
I do not see any routines for element by element multiplication. http://www.icl.utk.edu/~mgates3/docs/lapack.html

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by