Class PolynomialFunctionMatrix
- java.lang.Object
-
- org.orekit.propagation.semianalytical.dsst.utilities.hansen.PolynomialFunctionMatrix
-
public class PolynomialFunctionMatrix extends Object
A quadratic matrix ofPolynomialFunction
.- Author:
- Petre Bazavan, Lucian Barbulescu
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolynomialFunctionMatrix
add(PolynomialFunctionMatrix matrix)
Add the argument matrix with the current matrix.PolynomialFunction
getElem(int line, int column)
Get the value of an element.PolynomialFunction[]
getMatrixLine(int line)
Get a line of the matrix.PolynomialFunctionMatrix
multiply(PolynomialFunctionMatrix matrix)
Multiply the argument matrix with the current matrix.void
setElem(int line, int column, PolynomialFunction value)
Set an element of the matrix.void
setMatrix(PolynomialFunction[][] polynomials)
Set values for all elements.void
setMatrixLine(int line, PolynomialFunction[] polynomials)
Set the value of a line of the matrix.
-
-
-
Method Detail
-
setElem
public void setElem(int line, int column, PolynomialFunction value)
Set an element of the matrix.- Parameters:
line
- the linecolumn
- the columnvalue
- the value
-
getElem
public PolynomialFunction getElem(int line, int column)
Get the value of an element.- Parameters:
line
- the linecolumn
- the column- Returns:
- the value
-
multiply
public PolynomialFunctionMatrix multiply(PolynomialFunctionMatrix matrix)
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 numberpolynomials
- 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
public PolynomialFunctionMatrix add(PolynomialFunctionMatrix matrix)
Add the argument matrix with the current matrix.- Parameters:
matrix
- the argument matrix- Returns:
- the result of the addition
-
-