Trying to build a good math interface

This is a discussion on Trying to build a good math interface within the C++ Programming forums, part of the General Programming Boards category; And failing because I have no idea how to start. Take a look at the Maple interface. It's the best ...

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    4

    Trying to build a good math interface

    And failing because I have no idea how to start.


    Take a look at the Maple interface. It's the best i've seen so far.

    http://img112.imageshack.us/img112/6222/asdfad0.jpg


    You can click on the palette to make it output any symbol you want. Editing the symbol is easy. Just click on the section you want & type into the textbox


    Any ideas on how to do something like this? Maybe an example project? I don't need it to actually calculate anything. I only care about the look.

    Thanks in advance,
    -2

    Edit: I should probably mention I have some experience with .net windows forms.
    Last edited by Twice; 08-04-2006 at 08:29 AM.

  2. #2
    Registered User
    Join Date
    May 2006
    Location
    Berkshire, UK
    Posts
    29
    Have you considered that there are a lot of these around already? Microsoft Office, Star Office (if you don't want to pay) etc... This is a non-trivial task, although I would be tempted to take a 'modular' approach. Identify combinations of elements (ab, a/b etc.) and allow the elements to contain other element combinations. As a simple example, from the elements shown, you could create "ab/cd".

    Earlier question still holds though - Why?

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    4
    Quote Originally Posted by michaels-r
    Have you considered that there are a lot of these around already? Microsoft Office, Star Office (if you don't want to pay) etc... This is a non-trivial task, although I would be tempted to take a 'modular' approach. Identify combinations of elements (ab, a/b etc.) and allow the elements to contain other element combinations. As a simple example, from the elements shown, you could create "ab/cd".

    Earlier question still holds though - Why?
    I'm trying to make something that helps with generating equations on the web. Getting it to function properly doesn't seem as hard as getting it to display something.

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,535
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    4
    Quote Originally Posted by Mario F.
    It's fairly strong & i'm already working with tex, but as far as I know you can't edit the display. You have to work on the code. Maple allows you to do both.

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,535
    I still don't understand what do you mean by "editing the display"...

    You plan to have a live on-site equation editor?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    http://rogercortesi.com/eqn/index.php online ones perhaps. What you suggest is not trivial.

    This ( http://www.nought.de/tex2im.html ) explains how to work it, syntax will need some looking at though.
    Last edited by twomers; 08-04-2006 at 05:43 PM.

  8. #8
    Registered User
    Join Date
    Aug 2006
    Posts
    4
    Quote Originally Posted by Mario F.
    I still don't understand what do you mean by "editing the dishttp://cboard.cprogramming.com/index.php
    C Boardplay"...

    You plan to have a live on-site equation editor?
    I'm finding it hard to explain. You click right on the equation to add stuff. It's very fast & it's not necesssary to know any code like in latex.

    Some more examples from maple
    http://img375.imageshack.us/img375/4760/1ep1.jpg
    http://img375.imageshack.us/img375/8139/2kp9.jpg
    http://img244.imageshack.us/img244/2397/3la4.jpg
    Quote Originally Posted by twomers
    http://rogercortesi.com/eqn/index.php online ones perhaps. What you suggest is not trivial.
    Yeah i'm getting that feeling.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to get RSSI value, send to sensor, sensor receive package, repackage it?
    By techissue2008 in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-04-2009, 10:13 AM
  2. Calling IRichEditOle interface methods
    By Niara in forum C Programming
    Replies: 2
    Last Post: 01-16-2009, 01:23 PM
  3. Math problems...
    By Chaplin27 in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 06-14-2005, 08:46 PM
  4. Math Question
    By Joselo16 in forum C++ Programming
    Replies: 8
    Last Post: 05-20-2005, 09:46 PM
  5. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21