Class EquationExtractor

    • Constructor Detail

      • EquationExtractor

        public EquationExtractor()
      • EquationExtractor

        public EquationExtractor​(Jep j)
    • Method Detail

      • replaceVariableByExpressions

        public Node replaceVariableByExpressions​(Node node)
                                          throws JepException
        Replace all symbolic variable by their equations
        Parameters:
        node - root of expression
        Returns:
        copy of node with variables replaced by their equations
        Throws:
        JepException
      • replaceRHSVariablesByEquations

        public Node replaceRHSVariablesByEquations​(Node node)
                                            throws JepException
        Replace variables on the right had side of an assignment by their equations
        Parameters:
        node - an equation of the form g:=f^2-1
        Returns:
        a copy of the node
        Throws:
        JepException