- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 javascript中的数组应用的一点发现
今天用javascript写一个小程序,用到数组时有一个小小发现,翻了手边的书都没有介绍,所以就发过来献丑了。 首先我们先定义一个数组,并给它赋值,然后再定义一个空的数组,另空数组=原数组: /*****************代码段一***************** var array1 = new Array("a", "b", "c"); v
2004-02-27 10:24:00
1329
1
Arity - 解析和计算数学表达式的Java类库
Arity - 解析和计算数学表达式的Java类库
Arithmetic Engine for Java
Evaluates arithmetic expressions represented as strings.
Version 1.3.0 adds support for complex numbers. You can define and evaluate complex functions. All the built-ins (trigonometrics, log, power, etc) accept complex arguments. Enjoy!
An expression can have one of these forms:
constant value: 1+1
implicit function: x+1
constant definition: a=1+1
function definition with explicit arguments: f(a)=a+1
function definition with implicit arguments: f=x+1
The arithmetic engine supports as built-ins:
classic operators: + - * /
modulo(%), power(^) and parentheses
trigonometric functions
logarithms, square & cube root
constants pi, e
factorial, gcd, combinations, permutations
user-defined functions and constants
2011-07-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人