cern.colt.matrix.tfloat.algo.solver
Class FloatGivensRotation
- java.lang.Object
-
- cern.colt.matrix.tfloat.algo.solver.FloatGivensRotation
-
public class FloatGivensRotation extends java.lang.ObjectGivens plane rotation
-
-
Constructor Summary
Constructors Constructor and Description FloatGivensRotation(float x, float y)Constructs a Givens plane rotation for a given 2-vector
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapply(FloatMatrix1D x, int i1, int i2)Applies the Givens rotation to two elements of a vectorvoidapply(FloatMatrix2D H, int column, int i1, int i2)Applies the Givens rotation to two elements in a matrix column
-
-
-
Constructor Detail
-
FloatGivensRotation
public FloatGivensRotation(float x, float y)Constructs a Givens plane rotation for a given 2-vector- Parameters:
x- First component of the vectory- Second component of the vector
-
-
Method Detail
-
apply
public void apply(FloatMatrix2D H, int column, int i1, int i2)
Applies the Givens rotation to two elements in a matrix column- Parameters:
H- Matrix to apply tocolumn- Column indexi1- Row index of first elementi2- Row index of second element
-
apply
public void apply(FloatMatrix1D x, int i1, int i2)
Applies the Givens rotation to two elements of a vector- Parameters:
x- Vector to apply toi1- Index of first elementi2- Index of second element
-
-
DMelt 3.0 © DataMelt by jWork.ORG