jsci.maths.analysis
Class RealFunctionND
- java.lang.Object
-
- jsci.maths.analysis.RealFunctionND
-
- All Implemented Interfaces:
- java.io.Serializable, Ring.Member, AbelianGroup.Member, Member
public abstract class RealFunctionND extends java.lang.Object implements Ring.Member
This class describes a function on an n-dimensional space.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description AbelianGroup.Memberadd(AbelianGroup.Member f)Returns the addition of this function and another.RealFunctionNDadd(RealFunctionND f)static RealFunctionNDconstant(int dim, double k)intdimension()Returns the dimension of the space this function is on.RealFunctionNDdivide(RealFunctionND f)Ring.Memberdivide(Ring.Member f)Returns the division of this function and another.java.lang.ObjectgetSet()Ring.Memberinverse()Returns the multiplicative inverse (reciprocal) of this function.abstract doublemap(double[] x)RealFunctionNDmultiply(RealFunctionND f)Ring.Membermultiply(Ring.Member f)Returns the multiplication of this function and another.AbelianGroup.Membernegate()Returns the negative of this matrix.AbelianGroup.Membersubtract(AbelianGroup.Member f)Returns the subtraction of this function and another.RealFunctionNDsubtract(RealFunctionND f)RealFunctionNDtensor(RealFunction f)RealFunctionNDtensor(RealFunctionND f)
-
-
-
Method Detail
-
map
public abstract double map(double[] x)
-
dimension
public final int dimension()
Returns the dimension of the space this function is on.
-
negate
public AbelianGroup.Member negate()
Returns the negative of this matrix.- Specified by:
negatein interfaceAbelianGroup.Member
-
add
public AbelianGroup.Member add(AbelianGroup.Member f)
Returns the addition of this function and another.- Specified by:
addin interfaceAbelianGroup.Member- Parameters:
f- a group member
-
add
public RealFunctionND add(RealFunctionND f)
-
subtract
public AbelianGroup.Member subtract(AbelianGroup.Member f)
Returns the subtraction of this function and another.- Specified by:
subtractin interfaceAbelianGroup.Member- Parameters:
f- a group member
-
subtract
public RealFunctionND subtract(RealFunctionND f)
-
multiply
public Ring.Member multiply(Ring.Member f)
Returns the multiplication of this function and another.- Specified by:
multiplyin interfaceRing.Member- Parameters:
f- a ring member
-
multiply
public RealFunctionND multiply(RealFunctionND 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 RealFunctionND divide(RealFunctionND f)
-
tensor
public RealFunctionND tensor(RealFunction f)
-
tensor
public RealFunctionND tensor(RealFunctionND f)
-
constant
public static RealFunctionND constant(int dim, double k)
-
-
DMelt 3.0 © DataMelt by jWork.ORG