Free cookie consent management tool by TermsFeed Policy Generator

Opened 6 years ago

Last modified 3 years ago

#2938 reviewing defect

The parser for symbolic expressions in infix form parses negative numbers strangly — at Initial Version

Reported by: gkronber Owned by:
Priority: medium Milestone: HeuristicLab 3.3.17
Component: Problems.DataAnalysis.Symbolic Version: trunk
Keywords: Cc:

Description

Some examples:

  • Input: -1.0*x + 2.0
  • Expected:
      (+ 
         (* -1.0 x) 
         2.0)
    
  • Output:
    (+ 
      (- (* 1.0 x))
      2.0)
    
  • Input: exp(-1.0*x - 2.0)
  • Output:
    (exp (* 
           -1.0 
           (+ 
             (* 1.0 x) 
             2.0)))
    
  • Expected:
    (exp (- 
           (* -1.0 x)
            2.0))
    

Change History (0)

Note: See TracTickets for help on using tickets.