version changed

This commit is contained in:
Sergey Solovyev 2011-10-27 17:27:05 +04:00
parent 1cc39cf1c7
commit 6a84dab9c7
2 changed files with 16 additions and 63 deletions

20
pom.xml
View File

@ -7,7 +7,7 @@
<groupId>org.solovyev.android</groupId> <groupId>org.solovyev.android</groupId>
<artifactId>calculator</artifactId> <artifactId>calculator</artifactId>
<version>0.0.1</version> <version>1.1.4</version>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -46,13 +46,25 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>jscl-meditor</groupId> <groupId>org.solovyev</groupId>
<artifactId>jscl-meditor</artifactId> <artifactId>jscl</artifactId>
<version>2.3.5</version> <version>0.0.1</version>
<!--<exclusions>
<exclusion>
<artifactId>xercesImpl</artifactId>
<groupId>xerces</groupId>
</exclusion>
</exclusions>-->
<scope>system</scope> <scope>system</scope>
<systemPath>${additionalLibs}/jscl.jar</systemPath> <systemPath>${additionalLibs}/jscl.jar</systemPath>
</dependency> </dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.2</version>
</dependency>
<dependency> <dependency>
<groupId>org.simpleframework</groupId> <groupId>org.simpleframework</groupId>
<artifactId>simple-xml</artifactId> <artifactId>simple-xml</artifactId>

View File

@ -1,59 +0,0 @@
/*
* Copyright (c) 2009-2011. Created by serso aka se.solovyev.
* For more information, please, contact se.solovyev@gmail.com
* or visit http://se.solovyev.org
*/
package org.solovyev.android.calculator.math;
import jscl.math.Generic;
import jscl.math.NotIntegrableException;
import jscl.math.Variable;
import jscl.math.function.Function;
/**
* User: serso
* Date: 9/26/11
* Time: 12:58 PM
*/
public class Factorial extends Function {
public Factorial(Generic[] parameter) {
super("fact", parameter);
}
@Override
public Generic evaluate() {
return expressionValue();
}
@Override
public Generic evalelem() {
return null;
}
@Override
public Generic evalsimp() {
return null;
}
@Override
public Generic evalnum() {
return null;
}
@Override
public Generic antiderivative(int n) throws NotIntegrableException {
throw new UnsupportedOperationException("Not implemented yet!");
}
@Override
public Generic derivative(int n) {
throw new UnsupportedOperationException("Not implemented yet!");
}
@Override
protected Variable newinstance() {
return new Factorial(null);
}
}