Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## no.uib.cipr.matrix
Class RQ

    java.lang.Object
      no.uib.cipr.matrix.RQ

    public class RQ

extends java.lang.Object

Computes RQ decompositions

Constructor Summary
`RQ(int m, int n)` Constructs an empty RQ decomposition

Method Summary
`RQ` | `factor(DenseMatrix A)` Computes an orthogonal decomposition
`static RQ` | `factorize(Matrix A)` Convenience method to compute an RQ decomposition
`DenseMatrix` | `getQ()` Returns the orthogonal part of the factorization
`UpperTriangDenseMatrix` | `getR()` Returns the upper triangular factor

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RQ

    public RQ(int m,
              int n)

  Constructs an empty RQ decomposition

  Parameters:
    `m` - Number of rows
    `n` - Number of columns. Must be larger than or equal the number of rows

Method Detail

### factorize

    public static RQ factorize(Matrix A)

  Convenience method to compute an RQ decomposition

  Parameters:
    `A` - Matrix to decompose. Not modified
  Returns:
    Newly allocated decomposition

### factor

    public RQ factor(DenseMatrix A)

  Computes an orthogonal decomposition

  Parameters:
    `A` - Matrix to decompose. Overwritten on exit. Pass a copy to avoid this
  Returns:
    The current decomposition

### getR

    public UpperTriangDenseMatrix getR()

  Returns the upper triangular factor

### getQ

    public DenseMatrix getQ()

  Returns the orthogonal part of the factorization

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD