English
Forum

maths-Parser

 
- Page 1 -



Jac
de
Lad
Hello Community!

yet be I you really only on The nerves gone, Have infinite many ask set and my Progs and Codeschnipsel in the background held. Well, the lying on it, that my programs wahrescheinlich no large usage for you having. however. I work in the momentum in a Taschenrechner, the not only simply calculate should, separate too functions (too in 3D) present should, as well as Terme transform and on solve, bypass with complex numbers etc...anyway have I started a Parser for mathematical expressions To write. i think, whom can your Perhaps too use...though is the not yet ready. it rule in the momentum the following:
- The Grundrechenarten +-*/ as well as (Division with cut off the Machkommastellen) and Potenzen (with ^)
- clinging (alike whether (), [], {}, <> or mixed, everything becomes recognized)
- space go ausgefiltert
- negatives numbers must not clinging gefasst go (Please try)
- catches following Error ex: Division through 0, unausgewogene clinging, not vorhandener Term, unerlaubte characters in the Term (yet unvollständig), incorrect Klammeranordnung
- big- and Kleinschreibung becomes ignoring (for later trigonometrische functions and so, yet not of interest)
but the most important: it orientiert itself on Punktrchnung to Strichrechnung and Potenzen to Punktrechnung!

any The in the Time having: Please probiert the part time from. the whole have I in a PCU gepackt and is in the principle a class. here one demonstration-code:
 $u Parser.pcu=Math.
 {$iq}
declare term$,m#
Dim m#,Math
term$="-2*-12-3*6"
m#.Term&=Addr(term$)
cls
Print "PCU-Version: "+m#.Version()
Print "Term: "+term$
Print "Ergebnis: "+m#.Parse()
Print "Fehlernummer: "+Str $(m#.Error%)
Print "Fehlerstring: "+m#.ErrCode()
Print "Iterationen: "+Str $(m#.iterations%)
Print "Benötigte Berechnungszeit: "+Str $(m#.Time&)+" Millisekunden"
Print "--- Button ---"
Dispose m#
waitinput

i will in the momentum not yet plenty betray, the follows everything, if the Parser correct functions. to that try simply The Formel Change, the demonstration-code is really neither difficult to unterstand. me GEHTS, How said, in the momentum only therefore Error aufzudecken. I Have yet no found, but I rechne with Ner Lawine Zuschriften. Well, if the then sometime richt working can I The Trigonometrie install and Stochastik and so, I will too a complete Description supplying. means How said: BITTE FEEDBACK, straight because of negativer numbers!

Jac

@Michael Wodrich: Vielen Thanks for your Help! I Have unfortunately The old Version completely verhunzt and Have therefore again of in front started. but some could I wiederverwenden, particularly would I without your Help not so quick vorangekommen!!!

Nachtrag:
On new version updated: 0.1.0.4 (improvement the recognition negativer numbers, should now perfect his, the Term can now too Parameter the procedure Parse indicated go [has precedence to the indicated with .term&!]).

5 kB
Kurzbeschreibung: Matherparser 0.1.0.4 (09.02.2006)
Hochgeladen:02/09/06
Downloadcounter312
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/09/06  
 



 
- Page 3 -



Peter
Mallow
have a Error found, as i The Scheitelpunktsform testing wished:
x*(x-1)^2

example:
term$ = (-1-1)^2
term$ = (-5-1)^2
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
02/18/06  
 




Jac
de
Lad
Hello Peter!

I habs korrigiert (hope I anyway!), thanks for Info! Probiers time from. soon I will yet imaginäre numbers install, there The whole thing is still something komplizierter!

Jac

47 kB
Kurzbeschreibung: Matheparser 0.3.11b.28 (18.02.2006)
Hochgeladen:02/18/06
Downloadcounter70
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/18/06  
 




Peter
Mallow
super functions!

but now same the next Error:
1/2(5-1)^2 not working
1/2*(5-1)^2 functions too nciht
(1/2)*(5-1)^2 so works but
(1/2)(5-1)^2 but without * GEHTS nevertheless not

would have been there another idea:
one could still additional another Lite-Version make, The only The grundsachen rule., but therefore explicit faster is. means +-*/, PI,sin,cos,tan,^ and yet the Wurzelziehen.

EDIT
have yet a Error found:
-2*(2-2)^2+10
are by me =10
but
-2*(2-2)^2+10 =0
-2*(2-2)^2+10+5+2+6 too zero
2*(2-2)^2+10 so is correct the Result again
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
02/19/06  
 




Jac
de
Lad
Hello Peter,
oje The Potenzen...I look again to, the might behebbar his. At the latest tonight is the new version there!

About a Lite-Version have I not yet thought, since the Unit Yes Freeware is and stay becomes. you mean but sure because of the speed, or? time see, wennse steady is...Perhaps!

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/19/06  
 




Jac
de
Lad
Hello Peter!

I have any Error The You described have fixed. the a was one left-to-right-Perform-Error (gleichwertige Operators not nacheinander separate of left to right perform!), however, now GEHTS. unfortunately is it therefore but too slower become...for your tack becomes it well hardly herhalten can...

@all: I have quick a cheap zusammengeschusterten Taschenrechner with settled.

Jac

50 kB
Kurzbeschreibung: Matheparser 0.3.11c.29(19.02.2006)
Hochgeladen:02/19/06
Downloadcounter67
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/19/06  
 




Peter
Mallow
super thanks!
now goes everything, only To large Verschachtlungen z.B. (5^4+(3/12)^2)^5+3 becomes the program to that absturtz brought.

Yes with of/ one Liteversion meant I a abgespeckte Version, The speed win, because many things weckgelassen go.
 
WinXP Pro SP2, XProfan 9 + XPSE
AMD Athlon 64 X2 3800
02/19/06  
 




Jac
de
Lad
Hello Peter,

this is me now sincere unbegreiflich, because by me comes always the right Result (95415124894145.2031). alike whether compiliert or in the Interpreter or so. have you got Perhaps a Review Why the with you lying could???

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/19/06  
 




Jac
de
Lad
becomes it desired, that Parcival with of/ one function, a ntürliche number vorraussetzt (z.B. The stochatischen functions) a Error Message outputted becomes, if The number Nachkommastellen has? i will the anyway so install (alternatively, and on it I will now ditto evtl. works, could one too with designed Fehlern, informations suppress and simply weiterrechnen, or. How in the question supra, simply The Nachkommastellen abschneiden; quasi one Set(ErrorLevel for Parcival).

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/19/06  
 




Jac
de
Lad
so, I Have now so ne manner ErrorHandling installed. Looks moreover time in the Help to, or. in the beigelegten View source.

Jac

53 kB
Kurzbeschreibung: Matheparser 0.3.12.30 (19.02.2006)
Hochgeladen:02/19/06
Downloadcounter169
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/19/06  
 



The Unit is defective and can itself with XProfan9 not kompilieren. it appear The Message commands not found: PARAMTERS BIT&

Parameters is wrong written.

too reports XPSE with whom Examples Error.
 
02/19/06  
 




Jac
de
Lad
Oje, I had hoped, that now finally any Error fixed seien, thereby have I a new installed.

@iF: take off Error Dou you mean in my Examples? by me ningelt XPSE of course rum, but it can itself correct compilieren and perform!

Jac

53 kB
Kurzbeschreibung: Matheparser 0.3.12a.31 (20.02.2006)
Hochgeladen:02/20/06
Downloadcounter143
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/20/06  
 




Jac
de
Lad
Hello Community!

here The first 0.4-it-Version. I have what fine, new installed. Probierts time from. The new function is not yet ready, sonder is still in the Testphase. i'm naturally furthermore for everything (particularly Error) open!

Jac

56 kB
Kurzbeschreibung: Matheparser 0.4.0.32 (21.02.2006)
Hochgeladen:02/21/06
Downloadcounter131
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
02/21/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

23.144 Views

Untitledvor 0 min.
Sven Bader08/31/23
iF12/06/20
RudiB.04/15/20
kustg03/02/20
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie