JSci.maths.analysis
Class RealFunction3D

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

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

This class describes a function on a 3D space.

See Also:
Serialized Form

Constructor Summary
RealFunction3D()
           
 
Method Summary
 AbelianGroup.Member add(AbelianGroup.Member f)
          Returns the addition of this function and another.
 RealFunction3D add(RealFunction3D f)
           
static RealFunction3D constant(double k)
           
 int dimension()
          Returns the dimension of the space this function is on.
 RealFunction3D divide(RealFunction3D 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, double z)
           
 RealFunction3D multiply(RealFunction3D 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.
 RealFunction3D subtract(RealFunction3D f)
           
 RealFunctionND 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

RealFunction3D

public RealFunction3D()
Method Detail

map

public abstract double map(double x,
                           double y,
                           double z)

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 RealFunction3D add(RealFunction3D 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 RealFunction3D subtract(RealFunction3D 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 RealFunction3D multiply(RealFunction3D 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 RealFunction3D divide(RealFunction3D f)

tensor

public RealFunctionND tensor(RealFunction f)

tensor

public RealFunctionND tensor(RealFunction2D f)

constant

public static RealFunction3D constant(double k)