Class DoubleVector

java.lang.Object
org.scictrl.mp.orbitcorrect.math.DoubleMatrix
org.scictrl.mp.orbitcorrect.math.DoubleVector
All Implemented Interfaces:
Cloneable

public class DoubleVector extends DoubleMatrix

DoubleVector class.

Author:
igor@scictrl.com
  • Constructor Details

    • DoubleVector

      public DoubleVector(int dimension)
      DoubleVector constructor comment.
      Parameters:
      dimension - int
  • Method Details

    • canJoin

      public boolean canJoin(DoubleMatrix matrix)
      Test if can be joined with this matrix. Test if can be joined with this matrix.
      Overrides:
      canJoin in class DoubleMatrix
      Parameters:
      matrix - DoubleMatrix
      Returns:
      boolean
    • get

      public double get(int r)
      Returns value from matrix at (row,column) position.
      Parameters:
      r - int row
      Returns:
      double value
    • multiplayVector

      public DoubleVector multiplayVector(DoubleMatrix matrix)
      Multiplies matrix from right with this matrix and returns result as new matrix
      Parameters:
      matrix - DoubleMatrix
      Returns:
      DoubleMatrix result=matrix times this matrix
    • set

      public void set(int r, double value)
      Returns value from matrix at (row,column) position.
      Parameters:
      r - int row
      value - a double