taskGNU Astronomy Utilities - Tasks: task #13867, Infix notation for ImageArithmetic

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #13867: Infix notation for ImageArithmetic

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Tue 26 Jan 2016 06:24:28 AM UTC  
 
Should Start On: Mon 25 Jan 2016 03:00:00 PM UTCShould be Finished on: Mon 25 Jan 2016 03:00:00 PM UTC
Category: ArithmeticPriority: 5 - Normal
Item Group: EnhancementStatus: Postponed
Privacy: PublicPercent Complete: 0%
Assigned to: NoneOpen/Closed: Open
Effort: 0.00

Tue 26 Jan 2016 06:24:28 AM UTC, original submission:

In task #13574 a program to do image arithmetic was created (ImageArithmetic). But to be simply implemented it uses the postfix or reverse polish notation. Therefore as explained in that task, it is important for easy usability that it change the notation to the Infix notation where the operators are placed between the operands and it includes parenthesis. As explained in that task, a good way to do this might be through the Shunting-yard algorithm which translates infix notation to postfix notation which ImageArithmetic currently uses:

http://en.wikipedia.org/wiki/Shunting-yard_algorithm

There is a very nice explanation with a full program here:

http://en.literateprograms.org/Shunting_yard_algorithm_%28C%29

Mohammad Akhlaghi <makhlaghi>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1