Hello,

Are there mixed type matrix multiply functions?

Thank you

2 posts
• Page **1** of **1**

Hello,

Are there mixed type matrix multiply functions?

Thank you

Are there mixed type matrix multiply functions?

Thank you

- icon
**Posts:**3**Joined:**Sun Oct 01, 2006 5:48 pm

Hello,

If you want to do the matrix-matrix multiply (GEMM):

C = alpha AB + beta C

where A B and C are matrices. With the reference BLAS A, B and C need all three to be complex or all double. Same thing for matrix-vector products.

If you really want B to be of type real while C and A are complex then you need the XBLAS, a reference implementation is given at:

http://crd.lbl.gov/~xiaoye/XBLAS/

The pitfall is that there is no optimized imlementation of the XBLAS so, although you will have the functionallity, the performance are likely to be poor.

Julie

If you want to do the matrix-matrix multiply (GEMM):

C = alpha AB + beta C

where A B and C are matrices. With the reference BLAS A, B and C need all three to be complex or all double. Same thing for matrix-vector products.

If you really want B to be of type real while C and A are complex then you need the XBLAS, a reference implementation is given at:

http://crd.lbl.gov/~xiaoye/XBLAS/

The pitfall is that there is no optimized imlementation of the XBLAS so, although you will have the functionallity, the performance are likely to be poor.

Julie

- Julie
**Posts:**299**Joined:**Wed Feb 23, 2005 12:32 am**Location:**ICL, Denver. Colorado

2 posts
• Page **1** of **1**

Users browsing this forum: No registered users and 3 guests