org.jscience.mathematics.analysis
Class DoubleFunction2D

java.lang.Object
  extended by org.jscience.mathematics.analysis.DoubleFunction2D
All Implemented Interfaces:
java.io.Serializable, Field.Member, Ring.Member, AbelianGroup.Member, AbstractMapping, PrimitiveMappingND, Member

public abstract class DoubleFunction2D
extends java.lang.Object
implements PrimitiveMappingND, Field.Member

This class describes a function on a 2D space.

See Also:
Serialized Form

Constructor Summary
DoubleFunction2D()
           
 
Method Summary
 AbelianGroup.Member add(AbelianGroup.Member f)
          Returns the addition of this function and another.
 DoubleFunction2D add(DoubleFunction2D f)
          DOCUMENT ME!
 DoubleFunction2D divide(DoubleFunction2D f)
          DOCUMENT ME!
 Field.Member divide(Field.Member f)
          Returns the quotient of this function and another.
 IntervalsList[] getIntervalsLists()
          DOCUMENT ME!
 Field.Member inverse()
          Returns this function inverse.
 double[] map(double[] x)
          DOCUMENT ME!
abstract  double map(double x, double y)
          DOCUMENT ME!
 double[] map(float[] x)
          DOCUMENT ME!
 double[] map(int[] x)
          DOCUMENT ME!
 double[] map(long[] x)
          DOCUMENT ME!
 DoubleFunction2D multiply(DoubleFunction2D f)
          DOCUMENT ME!
 Ring.Member multiply(Ring.Member f)
          Returns the multiplication of this function and another.
 AbelianGroup.Member negate()
          Returns the negative of this function.
 int numInputDimensions()
          DOCUMENT ME!
 int numOutputDimensions()
          DOCUMENT ME!
 void setIntervalsLists(IntervalsList[] lists)
          DOCUMENT ME!
 AbelianGroup.Member subtract(AbelianGroup.Member f)
          Returns the subtraction of this function and another.
 DoubleFunction2D subtract(DoubleFunction2D f)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleFunction2D

public DoubleFunction2D()
Method Detail

map

public abstract double map(double x,
                           double y)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
y - DOCUMENT ME!
Returns:
DOCUMENT ME!

numInputDimensions

public int numInputDimensions()
DOCUMENT ME!

Specified by:
numInputDimensions in interface PrimitiveMappingND
Returns:
DOCUMENT ME!

numOutputDimensions

public int numOutputDimensions()
DOCUMENT ME!

Specified by:
numOutputDimensions in interface PrimitiveMappingND
Returns:
DOCUMENT ME!

map

public double[] map(double[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!
See Also:
org.jscience.mathematics.analysis.Domain.

map

public double[] map(float[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

map

public double[] map(long[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

map

public double[] map(int[] x)
DOCUMENT ME!

Specified by:
map in interface PrimitiveMappingND
Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getIntervalsLists

public IntervalsList[] getIntervalsLists()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setIntervalsLists

public void setIntervalsLists(IntervalsList[] lists)
DOCUMENT ME!

Parameters:
lists - DOCUMENT ME!

negate

public AbelianGroup.Member negate()
Returns the negative of this function.

Specified by:
negate in interface AbelianGroup.Member
Returns:
DOCUMENT ME!

add

public AbelianGroup.Member add(AbelianGroup.Member f)
Returns the addition of this function and another.

Specified by:
add in interface AbelianGroup.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

add

public DoubleFunction2D add(DoubleFunction2D f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

subtract

public AbelianGroup.Member subtract(AbelianGroup.Member f)
Returns the subtraction of this function and another.

Specified by:
subtract in interface AbelianGroup.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

subtract

public DoubleFunction2D subtract(DoubleFunction2D f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

multiply

public Ring.Member multiply(Ring.Member f)
Returns the multiplication of this function and another.

Specified by:
multiply in interface Ring.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

multiply

public DoubleFunction2D multiply(DoubleFunction2D f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!

inverse

public Field.Member inverse()
Returns this function inverse.

Specified by:
inverse in interface Field.Member
Returns:
DOCUMENT ME!

divide

public Field.Member divide(Field.Member f)
Returns the quotient of this function and another.

Specified by:
divide in interface Field.Member
Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

divide

public DoubleFunction2D divide(DoubleFunction2D f)
DOCUMENT ME!

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!