Closed kxygk closed 5 years ago
I'm sorry, this is an error in the documentation. SY matrices support out of place mm (AB -> C) and NOT in-place mm (AB -> A or AB -> B). Various triangular matrices support in-place mm...
Oh that's a shame. I will need to rework my algorithm. In that case, how would I properly do mm
into a temporary matrix and then overwrite the data in my GE/input matrix? (to get the same end result)
I don't have idea what your algorithm does, but I guess:
I mean how in my example would I overwrite the data of the input matrix?
with mm!
I was hoping to do AB -> A, but now I need and intermediary matric C and to do AB -> C and then C -> A. I'm just not clear on what's the write way to do that
In what I'm writing the A is a sub matrix of a larger matrix which Im trying to update . It's an implementation of the Householder QR decomposition I'm trying to write out and the submarines are recursively being reduced to the upper triangular form.. it's all purely educational. I'm trying to learn to use your library and BLAS :)
Maybe I'm having some issue with my reading comprehension, or there is a bug
In the docs for
mm!
it saysI apologize in advance b/c I'm having a bit of trouble cooking up a simple example (b/c I don't know how to write a symmetric matrix by hand), but hopefully this illustrates the issue:
Basically I've got some code in
(first-column-reflector ..)
that spits out a symmetric matrix and yet I can't multiply in-place a GE and SY matrix like the docs say I should be able toOr am I doing something wrong?