全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:347
推到 Plurk!
推到 Facebook!

TbcParser - Mathematical Expression Parser (V1.01 CB3 CB4 CB5 D4 D5)

 
領航天使
站長


發表:12216
回覆:4186
積分:4084
註冊:2001-07-25

發送簡訊給我
#1 引用回覆 回覆 發表時間:2000-12-04 00:00:00 IP:0.0.xxx.xxx 未訂閱
名稱:TbcParser - Mathematical Expression Parser 版本:V1.01 原始程式:需購買或註冊 註冊網址 適用:(CB3)(CB4)(CB5)(D4)(D5) 版權種類:分享軟體(Shareware) 作者:Ali Demir 原創公司:Bestcode 出處網址:http://www.bestcode.com 說明: TbcParser implements parse once-evaluate many times type of parsing for mathematical expressions given as strings.
TbcParser is especially useful in scientific, engineering programs.
It allows creation of custom variables and functions to be used in the expressions. Its internal arithmetic uses Extended?storage for floating point numbers.
This mathematical expression parser component parses and evaluates a mathematical expression that may contain variables and functions. Examples to typical expressions are:
  • 'SIN(3.14) 5^2 POW(2,7)-MAX(10,20)'
  • '( [ SIN(X)^2 ] COS(1) ) * PI/2'
  • '( COSH(2.71) SINH( COS(0.5) * POW(0.2345, 0.67) )) - LOG(1-X^2 X^5)'
  • '(90 292*POW(X,0.31))*(1 0.025*LOG(Y))*(1-1*POW(Y X,1.09))'
  • '25993.894*EXP(-1.53389*(X-32))*POW(X, 0.13547)*POW(Y, 0.38603)*EXP(-0.36222*Y)'
The user can add/remove his/her own custom variables and functions to be used in the expression. To be efficient in repeated calculations, parser creates a parse tree at first and reuses this parse tree for each evaluation without the need to reparse.
If Optimization is on, the parse tree will be optimized by calculating constant expression sections at once so that further evaluation requests will be quicker.
------
~~~Delphi K.Top討論區站長~~~
系統時間:2024-07-05 1:08:46
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!