Topic: java如何解释数学公式?

  Print this page

1.java如何解释数学公式? Copy to clipboard
Posted by: alix1997
Posted on: 2006-08-31 22:28

哪位高手有公式解析的源代码?包括可以解析常用函数的!很急!先谢谢了!

2.Re:java如何解释数学公式? [Re: alix1997] Copy to clipboard
Posted by: why
Posted on: 2006-09-01 00:51

Tell us why you're 很急.

Tell us which 常用函数 are required.

Tell us what you've tried to search.

3.Re:java如何解释数学公式? [Re: alix1997] Copy to clipboard
Posted by: alix1997
Posted on: 2006-09-01 20:45

我做的一个模块需要用户输入数学公式,其中包括常用函数(三角函数、开方等),数据从数据库中提取,如何才能解析用户输入的公式?比如:
输入:3*(6-2)-sqrt(4) 通过程序能得到计算结果10!

4.Re:java如何解释数学公式? [Re: alix1997] Copy to clipboard
Posted by: floater
Posted on: 2006-09-01 22:04

javacc and antlr

5.Re:java如何解释数学公式? [Re: floater] Copy to clipboard
Posted by: alix1997
Posted on: 2006-09-03 05:19

谢谢floater!但是javacc和 antlr 都没用过,现学如何入门啊?

6.Re:java如何解释数学公式? [Re: alix1997] Copy to clipboard
Posted by: ranchgirl
Posted on: 2006-09-03 06:16

谢谢floater!但是javacc和 antlr 都没用过,现学如何入门啊?


You never learn something "没用过" before???
Now it is the time to learn and use something "没用过"!!!!!!

Start with a google search
download the software
read a web tutorial
play with the examples came with the software
do your own job!!!!

7.Re:java如何解释数学公式? [Re: alix1997] Copy to clipboard
Posted by: gaoxt1983
Posted on: 2006-09-04 12:06

In the future, if you still in J2EE, you will often encount this .

8.Re:java如何解释数学公式? [Re: alix1997] Copy to clipboard
Posted by: alix1997
Posted on: 2006-09-04 21:08

谢谢这么多朋友的关心!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923