Skip to content

Commit 774e5a9

Browse files
SORBDB6: document algorithm, when output is zero
1 parent 643e7e3 commit 774e5a9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

SRC/sorbdb6.f

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@
4141
*> with respect to the columns of
4242
*> Q = [ Q1 ] .
4343
*> [ Q2 ]
44-
*> The columns of Q must be orthonormal.
44+
*> The columns of Q must be orthonormal. The orthogonalized vector will
45+
*> be zero if and only if it lies entirely in the range of Q.
4546
*>
46-
*> If the projection is zero according to Kahan's "twice is enough"
47-
*> criterion, then the zero vector is returned.
47+
*> The projection is computed with at most two iterations of the
48+
*> classical Gram-Schmidt algorithm, see
49+
*> * L. Giraud, J. Langou, M. Rozložník. "On the round-off error
50+
*> analysis of the Gram-Schmidt algorithm with reorthogonalization."
51+
*> 2002. CERFACS Technical Report No. TR/PA/02/33. URL:
52+
*> https://www.cerfacs.fr/algor/reports/2002/TR_PA_02_33.pdf
4853
*>
4954
*>\endverbatim
5055
*
@@ -320,4 +325,3 @@ SUBROUTINE SORBDB6( M1, M2, N, X1, INCX1, X2, INCX2, Q1, LDQ1, Q2,
320325
* End of SORBDB6
321326
*
322327
END
323-

0 commit comments

Comments
 (0)