Diagonal matrix-matrix multiply

SDIAMM/DDIAMM/CDIAMM/ZDIAMM

 

1: Operate with transpose matrix

 

2: Operate with conjugate-transpose matrix

m

Number of rows in matrix A.

n

Number of columns in matrix C.

k

Number of columns in matrix A.

alpha

Scalar parameter.

descra( )

 

 

Descriptor argument. Five element integer array.

descra(1)

Matrix structure.

 

0: General

 

1: Symmetric

 

2: Hermitian

 

3: Triangular

 

4: Skew (Anti)-Symmetric

 

5: Diagonal

descra(2)

Upper/Lower triangular indicator.

 

1: Lower

 

2: Upper

descra(3)

Main diagonal type.

 

0: Non-unit

 

1: Unit

descra(4)

Array base.

 

0: C/C++ compatible Not Supported

 

1: Fortran compatible

descra(5)

Repeated indices.

 

0: Unknown

 

1: No repeated indices

val( )

Two dimensional lda-by-ndiagarray such that val(:, i)

 

consists of nonzero elements on diagonal idiag(i) of A.

 

Diagonals in the lower triangular part of A are padded

 

from the top, and those in the upper triangular part are

 

padded from the bottom.

Chapter 4 Sparse BLAS Operations 499