All Packages Class Hierarchy This Package Previous Next Index
Class Jampack.Zhqrd
java.lang.Object
|
+----Jampack.Zhqrd
- public class Zhqrd
- extends Object
Computes a Householder QR decomposition.Specifically,
given a matrix A there are is a unitary matrix U
such that
QA = R
where R is zero below its diagonal. In constructing
this decomposition, Zhqrd represents Q as a product
of Householder transformations with each transformation
represented by a Z1. R is represented by a Zutmat.
Methods are provided to apply the transformations to
other matrices.
Comments: The routines to postmultiply by Q are soft coded and
should ultimately be replaced.
-
ncol
- The number of columns in A
-
nrow
- The number of rows in A
-
ntran
- The number of Householder transformations
-
R
- The R factor.
-
U
- An array containing the generating vectors for the
Householder transformations.
-
Zhqrd(Zmat)
- Computes a Householder QR decomposition of a Zmat
-
bq(Zmat)
- Computes the product BQ.
-
bqh(Zmat, Zmat)
- Computes the product BQH.
-
qb(Zmat)
- Computes the product QB.
-
qhb(Zmat)
- Computes the product QHB.
nrow
public int nrow
- The number of rows in A
ncol
public int ncol
- The number of columns in A
ntran
public int ntran
- The number of Householder transformations
U
public Z1 U[]
- An array containing the generating vectors for the
Householder transformations.
R
public Zutmat R
- The R factor. If nrow>ncol then R is square of order
ncol. Otherwise R has the same dimenstions as A.
Zhqrd
public Zhqrd(Zmat A) throws JampackException
- Computes a Householder QR decomposition of a Zmat
- Parameters:
- A - A Zmat
- Returns:
- The Zhqrd of A
- Throws: JampackException
- Passed from below.
qb
public Zmat qb(Zmat B) throws JampackException
- Computes the product QB. Throws JampackException for
inconsistent dimenstions.
- Parameters:
- B - A Zmat
- Returns:
- QB
- Throws: JampackException
- Thrown for inconsistent dimensions.
qhb
public Zmat qhb(Zmat B) throws JampackException
- Computes the product QHB. Throws JampackException for
inconsistent dimenstions.
- Parameters:
- B - A Zmat
- Returns:
- QHB
- Throws: JampackException
- Thrown for inconsistent dimensions.
bq
public Zmat bq(Zmat B) throws JampackException
- Computes the product BQ. Throws JampackException for
inconsistent dimenstions.
- Parameters:
- B - A Zmat
- Returns:
- BQ
- Throws: JampackException
- Thrown for inconsistent dimensions.
bqh
public Zmat bqh(Zmat A,
Zmat B) throws JampackException
- Computes the product BQH. Throws JampackException for
inconsistent dimenstions.
- Parameters:
- B - A Zmat
- Returns:
- BQH
- Throws: JampackException
- Thrown for inconsistent dimensions.
All Packages Class Hierarchy This Package Previous Next Index