MatOrthRows

Perform an LQ factorization (transposed QR).

Synopsis

#undef __FUNCT__
#define __FUNCT__ "MatOrthRows"
PetscErrorCode MatOrthRows(Mat A, MatOrthType type, MatOrthForm form, Mat *Qt_new, Mat *T_new)
Collective on Mat

Input Parameter

A - the matrix whose rows will be orthonormalized
type - the algorithm used for orthonormalization (one of MAT_ORTH_NONE, MAT_ORTH_GS, MAT_ORTH_CHOLESKY, MAT_ORTH_CHOLESKY_EXPLICIT)

Output Parameter

Qt_new - (optional) the Qt factor of the same size as A
T_new - (optional) the inverse of the L factor

Notes

This routine computes Qt and T so that A = inv(T)*Qt, Qt = T*A.

See Also

MatOrthColumns(), MatOrthType

Level:intermediate
Location:
src/mat/interface/fllopmatorth.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages