Class EquationTerm.MultiplyByScalarEquationTerm

    • Method Detail

      • setActive

        public void setActive​(boolean active)
        Specified by:
        setActive in interface EquationTerm
      • getVariables

        public List<Variable> getVariables()
        Description copied from interface: EquationTerm
        Get the list of variable this equation term depends on.
        Specified by:
        getVariables in interface EquationTerm
        Returns:
        the list of variable this equation term depends on.
      • update

        public void update​(double[] x)
        Description copied from interface: EquationTerm
        Update equation term using x variable values.
        Specified by:
        update in interface EquationTerm
        Parameters:
        x - variables values vector
      • eval

        public double eval()
        Description copied from interface: EquationTerm
        Evaluate equation term.
        Specified by:
        eval in interface EquationTerm
        Specified by:
        eval in interface Evaluable
        Returns:
        value of the equation term
      • der

        public double der​(Variable variable)
        Description copied from interface: EquationTerm
        Get partial derivative.
        Specified by:
        der in interface EquationTerm
        Parameters:
        variable - the variable the partial derivative is with respect to
        Returns:
        value of the partial derivative
      • rhs

        public double rhs()
        Description copied from interface: EquationTerm
        Get part of the partial derivative that has to be moved to right hand side.
        Specified by:
        rhs in interface EquationTerm
        Returns:
        value of part of the partial derivative that has to be moved to right hand side
      • calculateSensi

        public double calculateSensi​(com.powsybl.math.matrix.DenseMatrix x,
                                     int column)
        Specified by:
        calculateSensi in interface EquationTerm