Documentation of 'hep.physics.vec.BasicHep3Matrix' Java class
BasicHep3Matrix
hep.physics.vec

Class BasicHep3Matrix

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double det()
      Returns the determinent of the matrix.
      double e(int row, int column)
      Returns the (row, column) element
      int getNColumns()
      Returns the number of columns
      int getNRows()
      Returns the number of rows
      static BasicHep3Matrix identity() 
      void invert()
      Invert this matrix (into itself)
      void setActiveEuler(double phi, double theta, double psi)
      Defines a rotation matrix via Euler angles.
      void setElement(int row, int column, double value)
      Sets the (row, column) element
      void setPassiveEuler(double phi, double theta, double psi)
      Defines a rotation matrix via Euler angles.
      java.lang.String toString() 
      double trace()
      Returns the trace of the matrix.
      void transpose()
      Tranpose this matrix (into itself)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • e

        public double e(int row,
                        int column)
        Returns the (row, column) element
        Specified by:
        e in interface Matrix
      • det

        public double det()
        Returns the determinent of the matrix.
        Specified by:
        det in interface Hep3Matrix
      • trace

        public double trace()
        Returns the trace of the matrix.
        Specified by:
        trace in interface Hep3Matrix
      • setElement

        public void setElement(int row,
                               int column,
                               double value)
        Sets the (row, column) element
        Specified by:
        setElement in interface MutableMatrix
      • setPassiveEuler

        public void setPassiveEuler(double phi,
                                    double theta,
                                    double psi)
        Defines a rotation matrix via Euler angles. A "passive" rotation matrix rotates the coordinate system, an "active" one rotates the vector(body). The angles are defined for a right handed coordinate system. They are defined by counterclockwise rotations about an axis by the right hand rule, ie, looking down the axis in the negative direction the transvers axes are seen to rotate counterclockwise. To define passive(active) angles first rotate the coordinates(body) about the z-axis by phi, then about the new x-axis by theta then about the new z-axis by psi. Angles in radians.
      • setActiveEuler

        public void setActiveEuler(double phi,
                                   double theta,
                                   double psi)
        Defines a rotation matrix via Euler angles. A "passive" rotation matrix rotates the coordinate system, an "active" one rotates the vector(body). The angles are defined for a right handed coordinate system. They are defined by counterclockwise rotations about an axis by the right hand rule, ie, looking down the axis in the negative direction the transvers axes are seen to rotate counterclockwise. To define passive(active) angles first rotate the coordinates(body) about the z-axis by phi, then about the new x-axis by theta then about the new z-axis by psi. Angles in radians.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getNRows

        public int getNRows()
        Description copied from interface: Matrix
        Returns the number of rows
        Specified by:
        getNRows in interface Matrix
      • getNColumns

        public int getNColumns()
        Description copied from interface: Matrix
        Returns the number of columns
        Specified by:
        getNColumns in interface Matrix

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.