i realized that my arguments within my dormqr_ function cause some memory problems...
i don't know what the number of elementary reflectors is?
In dormqr.f is:
- Code: Select all
K (input) INTEGER
* The number of elementary reflectors whose product defines
* the matrix Q.
* If SIDE = 'L', M >= K >= 0;
* if SIDE = 'R', N >= K >= 0.
*
i have L but how great should k be? 0? M? or something between?
It would be very helpful because tau has to be as great as k! If i have a tau computed from previous calculation with several values - do i have to resize tau then to the size of k? But how great is k?
for example if i have a matrix like this:
A =
1 3
0 -2
9 1
is it right that k = 2 ? is k in every case the number of columns if side = L ?
but my tau computed by dgeqrf is still as great as k is??
Thanks a lot for help
Greets

