GivensRotation

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 GivensRotation

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

    public class GivensRotation

extends java.lang.Object

Givens plane rotation

Constructor Summary
`GivensRotation(double x, double y)` Constructs a Givens plane rotation for a given 2-vector

Method Summary
`void` | `apply(Matrix H, int column, int i1, int i2)` Applies the Givens rotation to two elements in a matrix column
`void` | `apply(Vector x, int i1, int i2)` Applies the Givens rotation to two elements of a vector

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

Constructor Detail

### GivensRotation

    public GivensRotation(double x,
                          double y)

  Constructs a Givens plane rotation for a given 2-vector

  Parameters:
    `x` - First component of the vector
    `y` - Second component of the vector

Method Detail

### apply

    public void apply(Matrix H,
                      int column,
                      int i1,
                      int i2)

  Applies the Givens rotation to two elements in a matrix column

  Parameters:
    `H` - Matrix to apply to
    `column` - Column index
    `i1` - Row index of first element
    `i2` - Row index of second element

### apply

    public void apply(Vector x,
                      int i1,
                      int i2)

  Applies the Givens rotation to two elements of a vector

  Parameters:
    `x` - Vector to apply to
    `i1` - Index of first element
    `i2` - Index of second element

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD