public class FloatGivensRotation extends Object
Constructor and Description |
---|
FloatGivensRotation(float x,
float y)
Constructs a Givens plane rotation for a given 2-vector
|
Modifier and Type | Method and Description |
---|---|
void |
apply(FloatMatrix1D x,
int i1,
int i2)
Applies the Givens rotation to two elements of a vector
|
void |
apply(FloatMatrix2D H,
int column,
int i1,
int i2)
Applies the Givens rotation to two elements in a matrix column
|
public FloatGivensRotation(float x, float y)
x
- First component of the vectory
- Second component of the vectorpublic void apply(FloatMatrix2D 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(FloatMatrix1D x, int i1, int i2)
x
- Vector to apply toi1
- Index of first elementi2
- Index of second elementJump to the Parallel Colt Homepage