Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6977 Discussions

How to implement the symmetric matrix product which only stored the upper or lower triangle matrix

rockydut
Beginner
403 Views

For example, matrix A and B are symmetric matrix, which only stored the upper or lower triangle matrix. There isnt blas function to implement the product of A and B, because the symm function need to store the matrix A and B fully.
So, who can tell me how to implement the symmetric matrix product which only stored the upper or lower triangle matrix.

0 Kudos
3 Replies
TimP
Honored Contributor III
403 Views
Do you mean kernlib TRSMUL/TRSMLU ? Those apparently calculate the product of a symmetric packed matrix with its transpose.
0 Kudos
rockydut
Beginner
403 Views

I dont know the kernlib.

I means that there are two symmetric matrix A and B, and are stored the Upper or Lower triangle matrix.

For example
1 2 3 4 2 7
A=2 4 5 B= 2 9 3
3 5 6 7 3 2
and A is sotred the Upper triangle matrix as A=[1 2 3 4 5 6]
B is sotred the Upper triangle matrix as B=[4 2 7 9 3 2]
So, which function is used to implement the A*B?

0 Kudos
mecej4
Honored Contributor III
403 Views
See here:

CernLib writeups
0 Kudos
Reply