text
stringlengths
3
1.18M
/***************************************************************************** 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. *****************************************************************************...
/* Created 16-May-2006 - Richard Morris */ package org.nfunk.jep.function; import org.nfunk.jep.EvaluatorI; import org.nfunk.jep.Node; import org.nfunk.jep.ParseException; /** * @author Richard Morris * An interface for functions which can be used on the left hand side of an assignment. * For instance ...
/***************************************************************************** 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. *****************************************************************************/ packa...
/***************************************************************************** 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. *****************************************************************************...
/* @author rich * Created on 18-Nov-2003 */ package org.nfunk.jep.function; import org.nfunk.jep.*; /** * An assignment operator so we can do * x=3+4. * This function implements the CallbackEvaluationI interface * so that it handles setting the value of a variable. * * Any Variable or function wh...
/***************************************************************************** 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 18-Nov-2003 */ package org.nfunk.jep.function; import org.nfunk.jep.*; import java.util.Stack; /** * Functions which require greater control over their evaluation should implement this interface. * * @author Rich Morris * @deprecated The interface CallbackEvaluationI should ...
/***************************************************************************** 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. *****************************************************************************...
/* Created 26-May-2006 - Richard Morris */ package org.nfunk.jep.function; import java.util.Stack; import java.util.Vector; import org.nfunk.jep.ASTVarNode; import org.nfunk.jep.EvaluatorI; import org.nfunk.jep.Node; import org.nfunk.jep.ParseException; import org.nfunk.jep.Variable; /** * Function w...
/***************************************************************************** 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. *****************************************************************************...
/* @author rich * Created on 18-Nov-2003 */ package org.nfunk.jep.function; import org.nfunk.jep.*; import org.nfunk.jep.type.*; /** * The if(condExpr,posExpr,negExpr) function. * The value of trueExpr will be returned if condExpr is >0 or Boolean.TRUE * and value of negExpr will be returned if condE...
/***************************************************************************** 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. *****************************************************************************...
/* @author rich * Created on 13-Feb-2005 * * See LICENSE.txt for license information. */ package org.nfunk.jep.function; import java.util.Stack; import org.nfunk.jep.ParseException; /** * Binomial coeficients: binom(n,i). * Requires n,i integers >=0. * Often written nCi or column vector (n,i). ...
/***************************************************************************** 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. *****************************************************************************...
/* @author rich * Created on 22-Apr-2005 * * See LICENSE.txt for license information. */ package org.nfunk.jep; /** * @author Rich Morris * Created on 22-Apr-2005 */ public interface EvaluatorI { /* * The following methods was used to facilitate * using visitors which implemented a interface...
/***************************************************************************** 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.nfunk.jeptesting; import org.nfunk.jep.ParseException; import org.nfunk.jep.type.Complex; import junit.framework.Assert; import junit.framework.TestCase; public class ComplexTest extends TestCase { public ComplexTest(String name) { super(name); } /** * Test method for 'org.nfunk.jep...
package org.nfunk.jeptesting; import org.nfunk.jep.ParseException; import org.nfunk.jep.function.Logarithm; import junit.framework.Assert; import junit.framework.TestCase; public class LogarithmTest extends TestCase { public LogarithmTest(String name) { super(name); } /* * Test method for 'or...
/***************************************************************************** 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.nfunk.jeptesting; import java.util.Enumeration; import java.util.Stack; import junit.framework.Assert; import junit.framework.TestCase; import org.nfunk.jep.JEP; import org.nfunk.jep.ParseException; import org.nfunk.jep.SymbolTable; import org.nfunk.jep.Variable; import org.nfunk.jep.function...
package org.nfunk.jeptesting; import org.nfunk.jep.ParseException; import org.nfunk.jep.function.NaturalLogarithm; import junit.framework.Assert; import junit.framework.TestCase; public class NaturalLogarithmTest extends TestCase { public NaturalLogarithmTest(String name) { super(name); } /* ...
package ch.justdoit; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class CreditsView extends Activity{ @Override protected void onCreate(Bundle icicle) { super.onCreate(icicle); TextView tv = new TextView(this); tv.setText("copyright by mauri");...
package ch.justdoit; import android.app.Application; public class RPNTouchApp extends Application { }
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed ...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
package ch.justdoit.andriodrpncalc.view; import java.util.Stack; import android.content.Context; import android.graphics.Rect; import android.text.Layout.Alignment; import android.view.KeyEvent; import android.view.View; import android.widget.EditText; import android.widget.LinearLayout; public class PromptText exten...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...
/* Copyright (C) 2008 Maurizio Monticelli This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distr...