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.org.hipparchus.analysis.polynomials.PolynomialFunction
getElem(int line, int column)
Get the value of an element.org.hipparchus.analysis.polynomials.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, org.hipparchus.analysis.polynomials.PolynomialFunction value)
Set an element of the matrix.void
setMatrix(org.hipparchus.analysis.polynomials.PolynomialFunction[][] polynomials)
Set values for all elements.void
setMatrixLine(int line, org.hipparchus.analysis.polynomials.PolynomialFunction[] polynomials)
Set the value of a line of the matrix.
-
-
-
Method Detail
-
setElem
public void setElem(int line, int column, org.hipparchus.analysis.polynomials.PolynomialFunction value)
Set an element of the matrix.- Parameters:
line
- the linecolumn
- the columnvalue
- the value
-
getElem
public org.hipparchus.analysis.polynomials.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(org.hipparchus.analysis.polynomials.PolynomialFunction[][] polynomials)
Set values for all elements.- Parameters:
polynomials
- the values that will be used for the matrix
-
setMatrixLine
public void setMatrixLine(int line, org.hipparchus.analysis.polynomials.PolynomialFunction[] polynomials)
Set the value of a line of the matrix.- Parameters:
line
- the line numberpolynomials
- the values to set
-
getMatrixLine
public org.hipparchus.analysis.polynomials.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
-
-