Class PolynomialFunctionMatrix

java.lang.Object
org.orekit.propagation.semianalytical.dsst.utilities.hansen.PolynomialFunctionMatrix

public class PolynomialFunctionMatrix extends Object
A quadratic matrix of PolynomialFunction.
Author:
Petre Bazavan, Lucian Barbulescu
  • Method Details

    • setElem

      public void setElem(int line, int column, PolynomialFunction value)
      Set an element of the matrix.
      Parameters:
      line - the line
      column - the column
      value - the value
    • getElem

      public PolynomialFunction getElem(int line, int column)
      Get the value of an element.
      Parameters:
      line - the line
      column - the column
      Returns:
      the value
    • multiply

      Multiply the argument matrix with the current matrix.
      Parameters:
      matrix - the argument matrix
      Returns:
      the result of the multiplication
    • setMatrix

      public void setMatrix(PolynomialFunction[][] polynomials)
      Set values for all elements.
      Parameters:
      polynomials - the values that will be used for the matrix
    • setMatrixLine

      public void setMatrixLine(int line, PolynomialFunction[] polynomials)
      Set the value of a line of the matrix.
      Parameters:
      line - the line number
      polynomials - the values to set
    • getMatrixLine

      public PolynomialFunction[] getMatrixLine(int line)
      Get a line of the matrix.
      Parameters:
      line - the line number
      Returns:
      the line of the matrix as a vector
    • add

      Add the argument matrix with the current matrix.
      Parameters:
      matrix - the argument matrix
      Returns:
      the result of the addition