JSci.maths.analysis
Class RealFunction2D

java.lang.Object
  extended by JSci.maths.analysis.RealFunction2D
All Implemented Interfaces:
java.io.Serializable, Ring.Member, AbelianGroup.Member, Member

public abstract class RealFunction2D
extends java.lang.Object
implements Ring.Member

This class describes a function on a 2D space.

See Also:
Serialized Form

Constructor Summary
RealFunction2D()
           
 
Method Summary
 AbelianGroup.Member add(AbelianGroup.Member f)
          Returns the addition of this function and another.
 RealFunction2D add(RealFunction2D f)
           
static RealFunction2D constant(double k)
           
 int dimension()
          Returns the dimension of the space this function is on.
 RealFunction2D divide(RealFunction2D f)
           
 Ring.Member divide(Ring.Member f)
          Returns the division of this function and another.
 java.lang.Object getSet()
           
 Ring.Member inverse()
          Returns the multiplicative inverse (reciprocal) of this function.
abstract  double map(double x, double y)
           
 RealFunction2D multiply(RealFunction2D f)
           
 Ring.Member multiply(Ring.Member f)
          Returns the multiplication of this function and another.
 AbelianGroup.Member negate()
          Returns the negative of this matrix.
 AbelianGroup.Member subtract(AbelianGroup.Member f)
          Returns the subtraction of this function and another.
 RealFunction2D subtract(RealFunction2D f)
           
 RealFunction3D tensor(RealFunction f)
           
 RealFunctionND tensor(RealFunction2D f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealFunction2D

public RealFunction2D()
Method Detail

map

public abstract double map(double x,
                           double y)

dimension

public final int dimension()
Returns the dimension of the space this function is on.


getSet

public java.lang.Object getSet()
Specified by:
getSet in interface Member

negate

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

Specified by:
negate in interface AbelianGroup.Member

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 - a group member

add

public RealFunction2D add(RealFunction2D f)

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 - a group member

subtract

public RealFunction2D subtract(RealFunction2D f)

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 - a ring member

multiply

public RealFunction2D multiply(RealFunction2D f)

inverse

public Ring.Member inverse()
Returns the multiplicative inverse (reciprocal) of this function.


divide

public Ring.Member divide(Ring.Member f)
Returns the division of this function and another.


divide

public RealFunction2D divide(RealFunction2D f)

tensor

public RealFunction3D tensor(RealFunction f)

tensor

public RealFunctionND tensor(RealFunction2D f)

constant

public static RealFunction2D constant(double k)