Community
cancel
Showing results for 
Search instead for 
Did you mean: 
rockydut
Beginner
53 Views

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

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
Black Belt
53 Views

Do you mean kernlib TRSMUL/TRSMLU ? Those apparently calculate the product of a symmetric packed matrix with its transpose.
rockydut
Beginner
53 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?

mecej4
Black Belt
53 Views

See here:

CernLib writeups
Reply