public class GivensRotation
extends java.lang.Object
Constructor and Description |
---|
GivensRotation(double x,
double y)
Constructs a Givens plane rotation for a given 2-vector
|
public GivensRotation(double x, double y)
x
- First component of the vectory
- Second component of the vectorpublic void apply(Matrix H, int column, int i1, int i2)
H
- Matrix to apply tocolumn
- Column indexi1
- Row index of first elementi2
- Row index of second elementpublic void apply(Vector x, int i1, int i2)
x
- Vector to apply toi1
- Index of first elementi2
- Index of second element