Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Customer__Intel4
Beginner
160 Views

multiplication of a diagonal matrix with a general matrix

Is there a routine in MKL which computes the multiplication of a diagonal matrix (where only diagonal elements are stored) with a general matrix?
0 Kudos
1 Reply
Ying_H_Intel
Employee
160 Views

Hi

Which format you store the diagonal matrix? If take the diagonal matrix as sparse matrix.
'
Then you may do searchfrom mkl user manual,
http://software.intel.com/sites/products/documentation/hpc/mkl/mklman/index.htm

There are some routines to support sparsematrix* dense matrix

like

mkl_?csrmm

Computes matrix - matrix product of a sparse matrix stored in the CSR format.

mkl_?diamm

Computes matrix-matrix product of a sparse matrix stored in the diagonal formatwith one-based indexing.
You maysee if theyare ok.

Regards,
Ying H.

Reply