text
stringlengths
3
1.18M
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * A min function Min(x^2,x,1,10) finds the min of x^2 with x running from 1 to 10. * * @author Rich Morris * Created on 10-Sept-2004 */ public class Min ex...
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; /** * The Simpson rule for approximation to a definite integral. * h * (y0 + yn + 4(y1+y3+...+y_(n-1)) + 2(y2+y4+...+y_(n-2)) ) /3 * where h = (xn-x0)/n, yi = f(xi) * Simpson(x^2,x,0,10,0.5) * ...
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * A product function product(x^2,x,1,10) finds the product of x^2 with x running from 1 to 10. * * @author Rich Morris * Created on 10-Sept-2004 */ public ...
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import java.util.Stack; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * Base class for functions like Sum(x^2,x,1,10) which finds the sum of x^2 with x running from 1 to 10. * The first argument should be ...
/* @author rich * Created on 10-Sep-2004 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * @author Rich Morris * Created on 10-Sep-2004 */ public class MaxArg extends SumType { static Comparative comp = new Comparative(Comparative.LE); pu...
/* @author rich * Created on 21-Jul-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djep.xjep.function; import org.lsmp.djep.xjep.CommandVisitorI; import org.lsmp.djep.xjep.MacroFunction; import org.lsmp.djep.xjep.XJep; import org.nfunk.jep.ASTConstant; import org.nfunk.jep.Node;...
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * A sum function Sum(x^2,x,1,10) finds the sum of x^2 with x running from 1 to 10. * Sum(x^2,x,1,10,2) calculates the 1^2+3^2+5^2+7^2+9^2 i.e. in steps of 2. * ...
/* @author rich * Created on 10-Sep-2004 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * @author Rich Morris * Created on 10-Sep-2004 */ public class MinArg extends SumType { static Comparative comp = new Comparative(Comparative.LE); pu...
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * A max function Max(x^2,x,1,10) finds the max of x^2 with x running from 1 to 10. * * @author Rich Morris * Created on 10-Sept-2004 */ public class Max ex...
/* @author rich * Created on 18-Nov-2003 */ package org.lsmp.djep.xjep.function; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * The trapezium rule for approximation to a definite integral. * h * (y0 + yn + 2(y1+y2+...+y_(n-1)) /2 * where h = (xn-x0)/n, yi = f(xi) * Trapezium(x^2,x,0,...
/* * Created on 16-Jun-2003 by Rich webmaster@pfaf.org * www.singsurf.org */ package org.lsmp.djep.xjep; import org.nfunk.jep.*; import org.nfunk.jep.type.*; /** * A set of Utility functions for working with JEP expression trees. * Main methods are * <ul> * <li> {@link #isConstant isConstant} te...
/* @author rich * Created on 01-Oct-2004 */ package org.lsmp.djep.xjep; import java.util.*; /** * @author Rich Morris * Created on 01-Oct-2004 */ public class XMath { static class LongPair { long a,b; public LongPair(long x,long y) { a=x; b=y;} long x() { return a; } long y() { return b; ...
/* @author rich * Created on 02-May-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djep.xjep; import java.text.FieldPosition; import java.text.NumberFormat; import java.text.ParsePosition; import org.lsmp.djep.xjep.function.FromBase; import org.lsmp.djep.xjep.function.ToBase; ...
/* @author rich * Created on 26-Jul-2003 */ package org.lsmp.djep.xjep; import org.lsmp.djep.xjep.function.*; import org.nfunk.jep.*; /** * An OperatorSet where the operators have information about their commutativity etc. * * @see XOperator * @author Rich Morris * Created on 26-Jul-2003 */ publ...
/* @author rich * Created on 16-Nov-2003 */ package org.lsmp.djep.xjep; import org.nfunk.jep.*; /** * Allows substitution of a given variable with an expression tree. * Substitution is best done using the * {@link XJep#substitute(Node,String,Node) XJep.substitute} method. * For example * <pre> * XJ...
/* @author rich * Created on 16-Nov-2003 */ package org.lsmp.djep.xjep; import org.nfunk.jep.*; import org.nfunk.jep.function.*; /** * This class is used to create nodes of specified types. * It can be sub-classed to change the nature of how nodes * are constructed. Generally there are two methods for cre...
/* @author rich * Created on 28-Feb-2004 */ package org.lsmp.djep.xjep; import org.nfunk.jep.*; /** * A VariableFactory which creates XVariables (which have equations). * * @author Rich Morris * Created on 28-Feb-2004 */ public class XVariableFactory extends VariableFactory { public Variable cr...
/* @author rich * Created on 15-Feb-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djep.jama; import org.lsmp.djep.vectorJep.values.*; import org.nfunk.jep.*; /** * Utility functions for adding Jama matrix functions. * To add these functions to a VectorJep or MatrixJep instance us...
/* @author rich * Created on 15-Feb-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djep.jama; import java.util.Stack; import org.nfunk.jep.ParseException; import org.nfunk.jep.function.PostfixMathCommand; import org.lsmp.djep.vectorJep.Dimensions; import org.lsmp.djep.vectorJep....
/* @author rich * Created on 15-Feb-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djep.jama; import java.util.Stack; import org.nfunk.jep.ParseException; import org.nfunk.jep.function.PostfixMathCommand; import org.lsmp.djep.vectorJep.Dimensions; import org.lsmp.djep.vectorJep....
/* @author rich * Created on 15-Feb-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djep.jama; import java.util.Stack; import org.nfunk.jep.ParseException; import org.nfunk.jep.function.PostfixMathCommand; import org.lsmp.djep.vectorJep.Dimensions; import org.lsmp.djep.vectorJep....
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * An IntergralDomainI which also has a notion of division, * which is not necessarily closed i.e. the integers. * * @author Rich Morris * Created on 05-Mar-2004 */ public interface HasDivI { /** get divisi...
/* @author rich * Created on 06-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * Group has a mod operator a % b. * * @author Rich Morris * Created on 06-Mar-2004 */ public interface HasModI { public Number mod(Number a,Number b); }
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; import org.lsmp.djep.groupJep.*; /** * Represents a abelian (commutative) group. * * @author Rich Morris * Created on 05-Mar-2004 */ public interface AbelianGroupI extends GroupI { }
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * Defines the operations on a ring, i.e. an abelian group * under + with a closed * operator and * distributitive over +. * * @author Rich Morris * Created on 05-Mar-2004 */ public interface RingI extends Ab...
/* @author rich * Created on 15-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * Group implements a List function [a,b,c]. * @author Rich Morris * Created on 15-Mar-2004 */ public interface HasListI { public Number list(Number eles[]); }
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * A RingI which has a multiplicative indentity. * Does not add any functionality as RingI defines the * public Number getMulIdentity(); * * @author Rich Morris * Created on 05-Mar-2004 */ public interface ...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * Represents a field. * Abelian group for + with inverse 0. * Elements excluding 0 form a abelian group. * * @author Rich Morris * Created on 05-Mar-2004 */ public interface FieldI extends IntegralDomainI,...
/* @author rich * Created on 06-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * Groups which have a total ordering, i.e <, >= make sense. * @see java.lang.Comparable * @author Rich Morris * Created on 06-Mar-2004 */ public interface OrderedSetI { /** Returns -1,0,1 depending on whether...
/* @author rich * Created on 06-Mar-2004 */ package org.lsmp.djep.groupJep.interfaces; /** * Group has a power operator a ^ b. * * @author Rich Morris * Created on 06-Mar-2004 */ public interface HasPowerI { public Number pow(Number a,Number b); }
/* @author rich * Created on 19-Dec-2003 */ package org.lsmp.djep.groupJep; import org.nfunk.jep.*; import org.nfunk.jep.type.Complex; import org.lsmp.djep.groupJep.values.*; /** * An extension of JEP which allows calculations over arbitary groups, * such as the integers(exact answers) and rationals. *...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import java.math.*; import org.lsmp.djep.groupJep.interfaces.*; /** * The group of integers, implemented as a BigInteger. * @see java.math.BigInteger * @author Rich Morris * Created on 05-Mar-2004 */ public class I...
/* @author rich * Created on 15-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import org.lsmp.djep.groupJep.GroupI; import org.lsmp.djep.groupJep.values.*; import org.lsmp.djep.groupJep.interfaces.*; /** * The group of permutations. * * TODO not sure if this works, not really tested. * * @...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import org.lsmp.djep.groupJep.interfaces.*; import java.math.*; /** * The group of integers mod n. * For prime values of n this is a field, with some * nice division tables. i.e. for Z5 * <pre>* | 1 2 3 4 * ----------...
/* @author rich * Created on 06-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import org.lsmp.djep.groupJep.*; import org.nfunk.jep.type.*; import org.nfunk.jep.*; /** * Base abstract class for all groups. * * @author Rich Morris * Created on 06-Mar-2004 */ public abstract class Group implemen...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import java.math.*; import org.lsmp.djep.groupJep.interfaces.*; import org.lsmp.djep.groupJep.values.*; /** * The Field of rational numbers. * * @author Rich Morris * Created on 05-Mar-2004 */ public class Ration...
/* @author rich * Created on 07-Dec-2004 */ package org.lsmp.djep.groupJep.groups; import org.lsmp.djep.groupJep.interfaces.*; import org.lsmp.djep.groupJep.values.*; import org.nfunk.jep.type.*; /** * An extended version of a Free Group, limted seport for powers and division. * Positive integer powers a...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import java.math.*; import org.lsmp.djep.groupJep.interfaces.*; /** * The field of Reals represented by BigDecimals. * TODO Sorry power is not implemented. * @see BigDecimal * * @author Rich Morris * Created on 0...
/* @author rich * Created on 16-May-2004 */ package org.lsmp.djep.groupJep.groups; import org.nfunk.jep.JEP; import org.lsmp.djep.groupJep.interfaces.*; /** * Possibly the Quaternions, completely untested. * * @author Rich Morris * Created on 16-May-2004 */ public class Quaternions extends Group i...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.groups; import org.lsmp.djep.groupJep.interfaces.*; /** * A representation of the Reals where elements are represented as Doubles. * * @author Rich Morris * Created on 05-Mar-2004 */ public class Reals extends Group implemen...
/* @author rich * Created on 09-Mar-2004 */ package org.lsmp.djep.groupJep.values; import org.lsmp.djep.groupJep.interfaces.*; import org.lsmp.djep.groupJep.*; import org.nfunk.jep.type.*; /** * The ring of polynomials over a ring R. * * @author Rich Morris * Created on 09-Mar-2004 */ public class ...
/* @author rich * Created on 09-Mar-2004 */ package org.lsmp.djep.groupJep.values; import org.lsmp.djep.groupJep.groups.AlgebraicExtension; /** * An element of the algrabraic extension K(t). * a0 + a1 t + a(n-1) t^(n-1) * where t is defined to be the the solution of a polynomial equation. * * @see...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.values; import java.math.*; /** * A Rational number with full precision. Represented as quotien of two * numbers (always in most reduced form with posative denominator). * * @author Rich Morris * Created on 05-Mar-2004 */ pu...
/* @author rich * Created on 15-Mar-2004 */ package org.lsmp.djep.groupJep.values; import org.lsmp.djep.groupJep.*; /** * @author Rich Morris * Created on 15-Mar-2004 */ public class Permutation extends Number { protected GroupI group; protected Integer perm[]; protected int len; /** * */...
/* @author rich * Created on 11-Mar-2004 */ package org.lsmp.djep.groupJep.values; import org.nfunk.jep.type.*; /** * Group elements which have a natural conversion to complex numbers. * * @author Rich Morris * Created on 11-Mar-2004 */ public interface HasComplexValueI { public Complex getComple...
/* @author rich * Created on 09-Mar-2004 */ package org.lsmp.djep.groupJep.values; import org.lsmp.djep.groupJep.groups.FreeGroup; import org.nfunk.jep.type.*; /** * An element of a free group with one generator. * * @see org.lsmp.djep.groupJep.groups.FreeGroup * @author Rich Morris * Created on 0...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep; import org.nfunk.jep.type.*; import org.nfunk.jep.*; /** * Represents a group with an identity, and addition operator. * * @author Rich Morris * Created on 05-Mar-2004 */ public interface GroupI { /** Returns the identity ...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import org.lsmp.djep.groupJep.interfaces.*; import java.util.*; import org.nfunk.jep.*; /** * Power operator for a group. * * @author Rich Morris *...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import java.util.*; import org.nfunk.jep.*; /** * Add function for use with arbitary groups. * Actual behaviour defined by the Group. * * @author ...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import org.lsmp.djep.groupJep.interfaces.*; import java.util.*; import org.nfunk.jep.*; /** * List function for use with arbitary groups. * Converts ele...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import org.lsmp.djep.groupJep.interfaces.*; import java.util.*; import org.nfunk.jep.*; /** * Multiplication operator for a group. * * @author Rich M...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import org.lsmp.djep.groupJep.interfaces.*; import java.util.*; import org.nfunk.jep.*; /** * Modulus operator for group. * * @author Rich Morris *...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import org.lsmp.djep.groupJep.interfaces.*; import java.util.*; import org.nfunk.jep.*; /** * Divide function for use with arbitary groups. * Actual beh...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import java.util.*; import org.nfunk.jep.*; /** * Subtract operator for a group. * * @author Rich Morris * Created on 05-Mar-2004 */ public class...
/* @author rich * Created on 05-Mar-2004 */ package org.lsmp.djep.groupJep.function; import org.nfunk.jep.function.*; import org.lsmp.djep.groupJep.*; import java.util.*; import org.nfunk.jep.*; /** * Unitary division for a group. * * @author Rich Morris * Created on 05-Mar-2004 */ public class GU...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/* @author rich * Created on 07-Mar-2004 */ package org.lsmp.djep.groupJep; import org.nfunk.jep.*; import org.lsmp.djep.groupJep.function.*; import org.nfunk.jep.function.*; /** * The set of operators used in the parser. * Actual function and suported operators are * defined by the group and the interf...
/* @author rich * Created on 05-Oct-2004 */ package org.lsmp.djep.groupJep; import org.nfunk.jep.*; import org.lsmp.djep.groupJep.values.*; import org.lsmp.djep.groupJep.groups.*; import org.lsmp.djep.xjep.*; /** * Constructs a polynomial from a JEP equation. * * @author Rich Morris * Created on 05...
/* @author rich * Created on 22-Apr-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djepJUnit; import org.lsmp.djep.matrixJep.MatrixJep; import org.nfunk.jep.Node; import org.nfunk.jep.ParseException; import junit.framework.Test; import junit.framework.TestResult; import junit.f...
package org.lsmp.djepJUnit; import junit.framework.*; import org.nfunk.jep.*; import org.nfunk.jep.type.*; import org.lsmp.djep.xjep.*; import org.lsmp.djep.djep.*; import java.text.NumberFormat; import org.lsmp.djep.sjep.*; /* @author rich * Created on 19-Nov-2003 */ /** * @author Rich Morris * Cr...
/* @author rich * Created on 22-Apr-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djepJUnit; import junit.framework.Test; import junit.framework.TestResult; import junit.framework.TestSuite; import org.lsmp.djep.djep.DJep; import org.lsmp.djep.djep.DSymbolTable; import org.nfu...
package org.lsmp.djepJUnit; import junit.framework.*; import org.nfunk.jep.*; import org.lsmp.djep.djep.*; import org.lsmp.djep.rewrite.*; /* @author rich * Created on 19-Nov-2003 */ /** * @author Rich Morris * Created on 19-Nov-2003 */ public class RewriteTest extends DJepTest { DJep j; pu...
package org.lsmp.djepJUnit; import junit.framework.*; import org.nfunk.jep.*; import org.nfunk.jep.type.*; import org.lsmp.djep.groupJep.interfaces.*; import org.lsmp.djep.groupJep.values.*; import org.lsmp.djep.groupJep.*; import org.lsmp.djep.groupJep.groups.*; import java.math.*; /* @author rich * Creat...
/* @author rich * Created on 17-Apr-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djepJUnit; import java.text.NumberFormat; import java.util.Vector; import org.nfunk.jep.*; import org.nfunk.jep.type.Complex; import org.lsmp.djep.xjep.*; import junit.framework.Test; import j...
/* @author rich * Created on 22-Apr-2005 * * See LICENSE.txt for license information. */ package org.lsmp.djepJUnit; import org.lsmp.djep.vectorJep.VectorJep; import org.nfunk.jep.ParseException; import junit.framework.Test; import junit.framework.TestResult; import junit.framework.TestSuite; /** ...
package org.lsmp.djepJUnit; import junit.framework.*; import org.nfunk.jep.*; import org.nfunk.jep.type.*; /* @author rich * Created on 19-Nov-2003 */ /** * @author Rich Morris * Created on 19-Nov-2003 */ public class JepTest extends TestCase { JEP j; public static final boolean SHOW_BAD=false...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
package org.lsmp.djepJUnit; import junit.framework.*; import org.nfunk.jep.*; import org.nfunk.jep.type.*; import org.lsmp.djep.matrixJep.*; import org.lsmp.djep.mrpe.MRpCommandList; import org.lsmp.djep.mrpe.MRpEval; import org.lsmp.djep.mrpe.MRpRes; import org.lsmp.djep.vectorJep.values.*; /* @author ric...
package org.lsmp.djepJUnit; import junit.framework.*; import org.nfunk.jep.*; import org.nfunk.jep.type.*; import org.lsmp.djep.rpe.*; /* @author rich * Created on 19-Nov-2003 */ /** * JUnit test for full Matrix Rp evaluator * * @author Rich Morris * Created on 19-Nov-2003 */ public class Rp...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/* HTML code for applet: <applet code="org.nfunk.jepexamples.FunctionPlotter" width=300 height=320> <param name=initialExpression value="100 sin(x/3) cos(x/70)"> </applet> */ package org.nfunk.jepexamples; import java.applet.*; import java.awt.*; /** * This applet is a demonstration of the possible app...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. ************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/** * * Copyright (c) 1996-1997 Sun Microsystems, Inc. * * Use of this file and the system it is part of is constrained by the * file COPYRIGHT in the root directory of this system. * */ /* This is an example of how the Visitor pattern might be used to implement the dumping code that comes with Sim...
/* @author rich * Created on 03-Aug-2003 */ package org.nfunk.jep; import org.nfunk.jep.function.PostfixMathCommandI; /** * A class containing information about an operator. * * @see OperatorSet * @author Rich Morris * Created on 19-Oct-2003 */ public class Operator { /** A unique name defi...
/* @author rich * Created on 03-Aug-2003 */ package org.nfunk.jep; import org.nfunk.jep.function.*; import org.nfunk.jep.Operator; /** * The standard set of operators used in JEP. * <p> * This creates instances of the PostfixMathCommands for each operator, * saving the need for multiple objects to b...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/* * * Created on 15-Aug-2003 */ package org.nfunk.jep.evaluation; import org.nfunk.jep.function.*; /** * * @author nathan */ public class CommandElement { public final static int VAR = 0; public final static int CONST = 1; public final static int FUNC = 2; private int ...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...
/***************************************************************************** JEP 2.4.1, Extensions 1.1.1 April 30 2007 (c) Copyright 2007, Nathan Funk and Richard Morris See LICENSE-*.txt for license information. *****************************************************************************...