orth Subroutine

public subroutine orth(a)

Orthogonalizes a set of vectors in-place using Gram-Schmidt orthonormalization

Reference: Golub and Van Loan, Matrix Computations, 3rd edition, Section 5.2.8, Algorithm 5.2.5, p. 231.

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(inout), dimension(:,:):: a

(m,n) array, where m <= n. The first m columns of the matrix are overwritten with the orthogonal basis vectors.


Contents

None