Class PolynomialFunctionMatrix


  • public class PolynomialFunctionMatrix
    extends Object
    A quadratic matrix of PolynomialFunction.
    Author:
    Petre Bazavan, Lucian Barbulescu
    • 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 line
        column - the column
        value - the value
      • getElem

        public org.hipparchus.analysis.polynomials.PolynomialFunction getElem​(int line,
                                                                              int column)
        Get the value of an element.
        Parameters:
        line - the line
        column - the column
        Returns:
        the value
      • 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 number
        polynomials - 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