|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uib.cipr.matrix.GivensRotation
public class GivensRotation
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 |
---|
public GivensRotation(double x, double y)
x
- First component of the vectory
- Second component of the vectorMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |