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.


Variable Index

 o ncol
The number of columns in A
 o nrow
The number of rows in A
 o ntran
The number of Householder transformations
 o R
The R factor.
 o U
An array containing the generating vectors for the Householder transformations.

Constructor Index

 o Zhqrd(Zmat)
Computes a Householder QR decomposition of a Zmat

Method Index

 o bq(Zmat)
Computes the product BQ.
 o bqh(Zmat, Zmat)
Computes the product BQH.
 o qb(Zmat)
Computes the product QB.
 o qhb(Zmat)
Computes the product QHB.

Variables

 o nrow
 public int nrow
The number of rows in A

 o ncol
 public int ncol
The number of columns in A

 o ntran
 public int ntran
The number of Householder transformations

 o U
 public Z1 U[]
An array containing the generating vectors for the Householder transformations.

 o 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.

Constructors

 o 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.

Methods

 o 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.
 o 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.
 o 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.
 o 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