Documentation of 'cern.colt.matrix.tdouble.algo.solver.DoubleGivensRotation' Java class
DoubleGivensRotation
cern.colt.matrix.tdouble.algo.solver

Class DoubleGivensRotation



  • public class DoubleGivensRotation
    extends java.lang.Object
    Givens plane rotation
    • Constructor Summary

      Constructors 
      Constructor and Description
      DoubleGivensRotation(double x, double 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
      void apply(DoubleMatrix1D x, int i1, int i2)
      Applies the Givens rotation to two elements of a vector
      void apply(DoubleMatrix2D H, int column, int i1, int i2)
      Applies the Givens rotation to two elements in a matrix column
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DoubleGivensRotation

        public DoubleGivensRotation(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(DoubleMatrix2D 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(DoubleMatrix1D 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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.