Commit bf311f5d authored by Samy Khadem-Al-Charieh's avatar Samy Khadem-Al-Charieh
Browse files

initial import into IfM's Subversion

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@1 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parents
<html><body>
<h3>function</h3>
The function porject in provides a hierarchy of function interfaces.</p>
</body></html>
File added
This diff is collapsed.
//JTEM - Java Tools for Experimental Mathematics
//Copyright (C) 2002 JEM-Group
//
//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
//any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
package de.jtem.function;
public class Function {
public interface OnSubsetOfIntegers {
/** returns the value of this function at <code>j</code>. */
public Object valueAt(int j);
}
public interface OnSubsetOfReals {
/** returns the value of this function at <code>t</code>. */
public Object valueAt(double t);
}
public interface OnSubsetOfIntegersCrossIntegers {
/** returns the value of this function at <code>i,j</code>. */
public Object valueAt(int i, int j);
}
public interface OnSubsetOfIntegersCrossReals {
/** returns the value of this function at <code>i,t</code>. */
public Object valueAt(int i, double t);
}
public interface OnSubsetOfRealsCrossIntegers {
/** returns the value of this function at <code>s,j</code>. */
public Object valueAt(double s, int j);
}
public interface OnSubsetOfRealsCrossReals {
/** returns the value of this function at <code>s,t</code>. */
public Object valueAt(double s, double t);
}
public interface OnSubsetOfIntegersCrossIntegersCrossIntegers {
/** returns the value of this function at <code>i,j,k</code>. */
public Object valueAt(int i, int j, int k);
}
public interface OnSubsetOfRealsCrossRealsCrossReals {
/** returns the value of this function at <code>s,t,u</code>. */
public Object valueAt(double s, double t, double u);
}
public interface OnIndex
extends OnSubsetOfIntegers, Domain.OnIndex {}
public interface OnNonNegativeIntegers
extends OnSubsetOfIntegers, Domain.OnNonNegativeIntegers {}
public interface OnIntegers
extends OnNonNegativeIntegers, Domain.OnIntegers {}
public interface PeriodicOnIntegers
extends OnIntegers, Domain.PeriodicOnIntegers {}
public interface OnInterval
extends OnSubsetOfReals, Domain.OnInterval {}
public interface OnNonNegativeReals
extends OnSubsetOfReals, Domain.OnNonNegativeReals {}
public interface OnReals
extends OnNonNegativeReals, Domain.OnReals {}
public interface PeriodicOnReals
extends OnReals, Domain.PeriodicOnReals {}
public interface OnIndexCrossIndex
extends OnSubsetOfIntegersCrossIntegers, Domain.OnIndexCrossIndex {}
public interface OnIndexCrossIntegers
extends OnSubsetOfIntegersCrossIntegers, Domain.OnIndexCrossIntegers {}
public interface PeriodicOnIndexCrossIntegers
extends OnSubsetOfIntegersCrossIntegers,
Domain.PeriodicOnIndexCrossIntegers {}
public interface OnIndexCrossInterval
extends OnSubsetOfIntegersCrossReals, Domain.OnIndexCrossInterval {}
public interface OnIndexCrossReals
extends OnSubsetOfIntegersCrossReals, Domain.OnIndexCrossReals {}
public interface PeriodicOnIndexCrossReals
extends OnSubsetOfIntegersCrossReals,
Domain.PeriodicOnIndexCrossReals {}
public interface OnNonNegativeIntegersCrossIndex
extends OnSubsetOfIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIndex {}
public interface OnNonNegativeIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIntegers {}
public interface PeriodicOnNonNegativeIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegers,
Domain.PeriodicOnNonNegativeIntegersCrossIntegers {}
public interface OnNonNegativeIntegersCrossInterval
extends OnSubsetOfIntegersCrossReals,
Domain.OnNonNegativeIntegersCrossInterval {}
public interface OnNonNegativeIntegersCrossReals
extends OnSubsetOfIntegersCrossReals,
Domain.OnNonNegativeIntegersCrossReals {}
public interface PeriodicOnNonNegativeIntegersCrossReals
extends OnSubsetOfIntegersCrossReals,
Domain.PeriodicOnNonNegativeIntegersCrossReals {}
public interface OnIntegersCrossIndex
extends OnNonNegativeIntegersCrossIndex {}
public interface OnIntegersCrossIntegers
extends OnNonNegativeIntegersCrossIntegers {}
public interface PeriodicOnIntegersCrossIntegers
extends PeriodicOnNonNegativeIntegersCrossIntegers {}
public interface DoublyPeriodicOnIntegersCrossIntegers
extends PeriodicOnIntegersCrossIntegers,
Domain.DoublyPeriodicOnIntegersCrossIntegers {}
public interface OnIntegersCrossInterval
extends OnNonNegativeIntegersCrossInterval {}
public interface OnIntegersCrossReals
extends OnNonNegativeIntegersCrossReals {}
public interface PeriodicOnIntegersCrossReals
extends OnIntegersCrossReals, Domain.PeriodicOnIntegersCrossReals {}
public interface OnIntervalCrossIndex
extends OnSubsetOfRealsCrossIntegers, Domain.OnIntervalCrossIndex {}
public interface OnIntervalCrossIntegers
extends OnSubsetOfRealsCrossIntegers, Domain.OnIntervalCrossIntegers {}
public interface PeriodicOnIntervalCrossIntegers
extends OnIntervalCrossIntegers,
Domain.PeriodicOnIntervalCrossIntegers {}
public interface OnIntervalCrossInterval
extends OnSubsetOfRealsCrossReals, Domain.OnIntervalCrossInterval {}
public interface OnIntervalCrossReals
extends OnSubsetOfRealsCrossReals, Domain.OnIntervalCrossReals {}
public interface PeriodicOnIntervalCrossReals
extends OnIntervalCrossReals, Domain.PeriodicOnIntervalCrossReals {}
public interface OnNonNegativeRealsCrossIndex
extends OnSubsetOfRealsCrossIntegers,
Domain.OnNonNegativeRealsCrossIndex {}
public interface OnNonNegativeRealsCrossIntegers
extends OnSubsetOfRealsCrossIntegers,
Domain.OnNonNegativeRealsCrossIntegers {}
public interface PeriodicOnNonNegativeRealsCrossIntegers
extends OnNonNegativeRealsCrossIntegers,
Domain.PeriodicOnNonNegativeRealsCrossIntegers {}
public interface OnNonNegativeRealsCrossInterval
extends OnSubsetOfRealsCrossReals,
Domain.OnNonNegativeRealsCrossInterval {}
public interface OnNonNegativeRealsCrossReals
extends OnSubsetOfRealsCrossReals,
Domain.OnNonNegativeRealsCrossReals {}
public interface PeriodicOnNonNegativeRealsCrossReals
extends OnNonNegativeRealsCrossReals,
Domain.PeriodicOnNonNegativeRealsCrossReals {}
public interface OnRealsCrossIndex
extends OnNonNegativeRealsCrossIndex {}
public interface OnRealsCrossIntegers
extends OnNonNegativeRealsCrossIntegers {}
public interface PeriodicOnRealsCrossIntegers
extends PeriodicOnNonNegativeRealsCrossIntegers {}
public interface OnRealsCrossInterval
extends OnNonNegativeRealsCrossInterval {}
public interface OnRealsCrossReals
extends OnNonNegativeRealsCrossReals {}
public interface PeriodicOnRealsCrossReals
extends PeriodicOnNonNegativeRealsCrossReals {}
public interface DoublyPeriodicOnRealsCrossReals
extends PeriodicOnRealsCrossReals,
Domain.DoublyPeriodicOnRealsCrossReals {}
public interface OnIndexCrossIndexCrossIndex
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnIndexCrossIndexCrossIndex {}
public interface OnIndexCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnIndexCrossIntegersCrossIntegers {}
public interface DoublyPeriodicOnIndexCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.DoublyPeriodicOnIndexCrossIntegersCrossIntegers {}
public interface OnNonNegativeIntegersCrossIndexCrossIndex
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIndexCrossIndex {}
public interface OnNonNegativeIntegersCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIntegersCrossIntegers {}
public interface DoublyPeriodicOnNonNegativeIntegersCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.DoublyPeriodicOnNonNegativeIntegersCrossIntegersCrossIntegers {}
public interface OnIntegersCrossIndexCrossIndex
extends OnNonNegativeIntegersCrossIndexCrossIndex,
Domain.OnIntegersCrossIndexCrossIndex {}
public interface OnIntegersCrossIntegersCrossIntegers
extends OnNonNegativeIntegersCrossIntegersCrossIntegers,
Domain.OnIntegersCrossIntegersCrossIntegers {}
public interface DoublyPeriodicOnIntegersCrossIntegersCrossIntegers
extends OnIntegersCrossIntegersCrossIntegers,
Domain.DoublyPeriodicOnIntegersCrossIntegersCrossIntegers {}
public interface TriplyPeriodicOnIntegersCrossIntegersCrossIntegers
extends DoublyPeriodicOnIntegersCrossIntegersCrossIntegers,
Domain.TriplyPeriodicOnIntegersCrossIntegersCrossIntegers {}
public interface OnIntervalCrossIntervalCrossInterval
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.OnIntervalCrossIntervalCrossInterval {}
public interface OnIntervalCrossRealsCrossReals
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.OnIntervalCrossRealsCrossReals {}
public interface DoublyPeriodicOnIntervalCrossRealsCrossReals
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.DoublyPeriodicOnIntervalCrossRealsCrossReals {}
public interface OnNonNegativeRealsCrossIntervalCrossInterval
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.OnNonNegativeRealsCrossIntervalCrossInterval {}
public interface OnNonNegativeRealsCrossRealsCrossReals
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.OnNonNegativeRealsCrossRealsCrossReals {}
public interface DoublyPeriodicOnNonNegativeRealsCrossRealsCrossReals
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.DoublyPeriodicOnNonNegativeRealsCrossRealsCrossReals {}
public interface OnRealsCrossIntervalCrossInterval
extends OnNonNegativeRealsCrossIntervalCrossInterval,
Domain.OnRealsCrossIntervalCrossInterval {}
public interface OnRealsCrossRealsCrossReals
extends OnNonNegativeRealsCrossRealsCrossReals,
Domain.OnRealsCrossRealsCrossReals {}
public interface DoublyPeriodicOnRealsCrossRealsCrossReals
extends DoublyPeriodicOnNonNegativeRealsCrossRealsCrossReals,
Domain.DoublyPeriodicOnRealsCrossRealsCrossReals {}
public interface TriplyPeriodicOnRealsCrossRealsCrossReals
extends DoublyPeriodicOnRealsCrossReals,
Domain.TriplyPeriodicOnRealsCrossRealsCrossReals {}
}
\ No newline at end of file
</
//JTEM - Java Tools for Experimental Mathematics
//Copyright (C) 2002 JEM-Group
//
//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
//any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
package de.jtem.function.complex;
import de.jtem.function.Domain;
import de.jtem.mfc.field.Complex;
public class ComplexFunction {
private interface OnSubsetOfIntegers {
/** returns the value of this function at <code>j</code>. */
public Complex valueAt(int j);
}
private interface OnSubsetOfReals {
/** returns the value of this function at <code>t</code>. */
public Complex valueAt(double t);
}
private interface OnSubsetOfIntegersCrossIntegers {
/** returns the value of this function at <code>i,j</code>. */
public Complex valueAt(int i, int j);
}
private interface OnSubsetOfIntegersCrossReals {
/** returns the value of this function at <code>i,t</code>. */
public Complex valueAt(int i, double t);
}
private interface OnSubsetOfRealsCrossIntegers {
/** returns the value of this function at <code>s,j</code>. */
public Complex valueAt(double s, int j);
}
private interface OnSubsetOfRealsCrossReals {
/** returns the value of this function at <code>s,t</code>. */
public Complex valueAt(double s, double t);
}
private interface OnSubsetOfIntegersCrossIntegersCrossIntegers {
/** returns the value of this function at <code>i,j,k</code>. */
public Complex valueAt(int i, int j, int k);
}
private interface OnSubsetOfRealsCrossRealsCrossReals {
/** returns the value of this function at <code>s,t,u</code>. */
public Complex valueAt(double s, double t, double u);
}
public interface OnIndex
extends OnSubsetOfIntegers, Domain.OnIndex {}
public interface OnNonNegativeIntegers
extends OnSubsetOfIntegers, Domain.OnNonNegativeIntegers {}
public interface OnIntegers
extends OnNonNegativeIntegers, Domain.OnIntegers {}
public interface PeriodicOnIntegers
extends OnIntegers, Domain.PeriodicOnIntegers {}
public interface OnInterval
extends OnSubsetOfReals, Domain.OnInterval {}
public interface OnNonNegativeReals
extends OnSubsetOfReals, Domain.OnNonNegativeReals {}
public interface OnReals
extends OnNonNegativeReals, Domain.OnReals {}
public interface PeriodicOnReals
extends OnReals, Domain.PeriodicOnReals {}
public interface OnIndexCrossIndex
extends OnSubsetOfIntegersCrossIntegers, Domain.OnIndexCrossIndex {}
public interface OnIndexCrossIntegers
extends OnSubsetOfIntegersCrossIntegers, Domain.OnIndexCrossIntegers {}
public interface PeriodicOnIndexCrossIntegers
extends OnSubsetOfIntegersCrossIntegers,
Domain.PeriodicOnIndexCrossIntegers {}
public interface OnIndexCrossInterval
extends OnSubsetOfIntegersCrossReals, Domain.OnIndexCrossInterval {}
public interface OnIndexCrossReals
extends OnSubsetOfIntegersCrossReals, Domain.OnIndexCrossReals {}
public interface PeriodicOnIndexCrossReals
extends OnSubsetOfIntegersCrossReals,
Domain.PeriodicOnIndexCrossReals {}
public interface OnNonNegativeIntegersCrossIndex
extends OnSubsetOfIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIndex {}
public interface OnNonNegativeIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIntegers {}
public interface PeriodicOnNonNegativeIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegers,
Domain.PeriodicOnNonNegativeIntegersCrossIntegers {}
public interface OnNonNegativeIntegersCrossInterval
extends OnSubsetOfIntegersCrossReals,
Domain.OnNonNegativeIntegersCrossInterval {}
public interface OnNonNegativeIntegersCrossReals
extends OnSubsetOfIntegersCrossReals,
Domain.OnNonNegativeIntegersCrossReals {}
public interface PeriodicOnNonNegativeIntegersCrossReals
extends OnSubsetOfIntegersCrossReals,
Domain.PeriodicOnNonNegativeIntegersCrossReals {}
public interface OnIntegersCrossIndex
extends OnNonNegativeIntegersCrossIndex {}
public interface OnIntegersCrossIntegers
extends OnNonNegativeIntegersCrossIntegers {}
public interface PeriodicOnIntegersCrossIntegers
extends PeriodicOnNonNegativeIntegersCrossIntegers {}
public interface DoublyPeriodicOnIntegersCrossIntegers
extends PeriodicOnIntegersCrossIntegers,
Domain.DoublyPeriodicOnIntegersCrossIntegers {}
public interface OnIntegersCrossInterval
extends OnNonNegativeIntegersCrossInterval {}
public interface OnIntegersCrossReals
extends OnNonNegativeIntegersCrossReals {}
public interface PeriodicOnIntegersCrossReals
extends OnIntegersCrossReals, Domain.PeriodicOnIntegersCrossReals {}
public interface OnIntervalCrossIndex
extends OnSubsetOfRealsCrossIntegers, Domain.OnIntervalCrossIndex {}
public interface OnIntervalCrossIntegers
extends OnSubsetOfRealsCrossIntegers, Domain.OnIntervalCrossIntegers {}
public interface PeriodicOnIntervalCrossIntegers
extends OnIntervalCrossIntegers,
Domain.PeriodicOnIntervalCrossIntegers {}
public interface OnIntervalCrossInterval
extends OnSubsetOfRealsCrossReals, Domain.OnIntervalCrossInterval {}
public interface OnIntervalCrossReals
extends OnSubsetOfRealsCrossReals, Domain.OnIntervalCrossReals {}
public interface PeriodicOnIntervalCrossReals
extends OnIntervalCrossReals, Domain.PeriodicOnIntervalCrossReals {}
public interface OnNonNegativeRealsCrossIndex
extends OnSubsetOfRealsCrossIntegers,
Domain.OnNonNegativeRealsCrossIndex {}
public interface OnNonNegativeRealsCrossIntegers
extends OnSubsetOfRealsCrossIntegers,
Domain.OnNonNegativeRealsCrossIntegers {}
public interface PeriodicOnNonNegativeRealsCrossIntegers
extends OnNonNegativeRealsCrossIntegers,
Domain.PeriodicOnNonNegativeRealsCrossIntegers {}
public interface OnNonNegativeRealsCrossInterval
extends OnSubsetOfRealsCrossReals,
Domain.OnNonNegativeRealsCrossInterval {}
public interface OnNonNegativeRealsCrossReals
extends OnSubsetOfRealsCrossReals,
Domain.OnNonNegativeRealsCrossReals {}
public interface PeriodicOnNonNegativeRealsCrossReals
extends OnNonNegativeRealsCrossReals,
Domain.PeriodicOnNonNegativeRealsCrossReals {}
public interface OnRealsCrossIndex
extends OnNonNegativeRealsCrossIndex {}
public interface OnRealsCrossIntegers
extends OnNonNegativeRealsCrossIntegers {}
public interface PeriodicOnRealsCrossIntegers
extends PeriodicOnNonNegativeRealsCrossIntegers {}
public interface OnRealsCrossInterval
extends OnNonNegativeRealsCrossInterval {}
public interface OnRealsCrossReals
extends OnNonNegativeRealsCrossReals {}
public interface PeriodicOnRealsCrossReals
extends PeriodicOnNonNegativeRealsCrossReals {}
public interface DoublyPeriodicOnRealsCrossReals
extends PeriodicOnRealsCrossReals,
Domain.DoublyPeriodicOnRealsCrossReals {}
public interface OnIndexCrossIndexCrossIndex
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnIndexCrossIndexCrossIndex {}
public interface OnIndexCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnIndexCrossIntegersCrossIntegers {}
public interface DoublyPeriodicOnIndexCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.DoublyPeriodicOnIndexCrossIntegersCrossIntegers {}
public interface OnNonNegativeIntegersCrossIndexCrossIndex
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIndexCrossIndex {}
public interface OnNonNegativeIntegersCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.OnNonNegativeIntegersCrossIntegersCrossIntegers {}
public interface DoublyPeriodicOnNonNegativeIntegersCrossIntegersCrossIntegers
extends OnSubsetOfIntegersCrossIntegersCrossIntegers,
Domain.DoublyPeriodicOnNonNegativeIntegersCrossIntegersCrossIntegers {}
public interface OnIntegersCrossIndexCrossIndex
extends OnNonNegativeIntegersCrossIndexCrossIndex,
Domain.OnIntegersCrossIndexCrossIndex {}
public interface OnIntegersCrossIntegersCrossIntegers
extends OnNonNegativeIntegersCrossIntegersCrossIntegers,
Domain.OnIntegersCrossIntegersCrossIntegers {}
public interface DoublyPeriodicOnIntegersCrossIntegersCrossIntegers
extends OnIntegersCrossIntegersCrossIntegers,
Domain.DoublyPeriodicOnIntegersCrossIntegersCrossIntegers {}
public interface TriplyPeriodicOnIntegersCrossIntegersCrossIntegers
extends DoublyPeriodicOnIntegersCrossIntegersCrossIntegers,
Domain.TriplyPeriodicOnIntegersCrossIntegersCrossIntegers {}
public interface OnIntervalCrossIntervalCrossInterval
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.OnIntervalCrossIntervalCrossInterval {}
public interface OnIntervalCrossRealsCrossReals
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.OnIntervalCrossRealsCrossReals {}
public interface DoublyPeriodicOnIntervalCrossRealsCrossReals
extends OnSubsetOfRealsCrossRealsCrossReals,
Domain.DoublyPeriodicOnIntervalCrossRealsCrossReals {}
public interface OnNonNegativeRealsCrossIntervalCrossInterval
extends OnSubsetOfRealsCrossRealsCrossReals,