|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MathFunctor
MathFunctor interface tags all mathematical functors. So this interface for mathematical functors extends normal logic functors.
The difference between MathFunctor and its superinterface Functor is that the mathematical MathFunctor tags objects to provide extended mathematical behaviour like derivation and integration, and that it is aware of arithmetic operations on functions.
MathFunctors f:A->B; x |-> f(x) form a vector space over K if the function f returns elements in B=K. MathFunctors form a field if and only if |A|=1 which is not a particulary exciting case.
MathFunctors usually provide pointwise arithmetic operations.
For an arithmetic operation °:B×B->B this will be a pointwise composition of the operation º with the functor operands
Note: once covariant return-types are available again in Java, this interface will unveil its method for derivation. It will have the signature
MathFunctor derive()
It is now only provided in the sub interfaces because this approach saves inconvenient casting.
For the documentation concerning derivation methods in MathFunctor and its sub interfaces
see derive().
| Nested Class Summary | |
|---|---|
static interface |
MathFunctor.Composite
A composed mathematical functors. |
| Nested classes/interfaces inherited from interface orbital.logic.functor.Functor |
|---|
Functor.Specification |
| Method Summary |
|---|
| Methods inherited from interface orbital.logic.functor.Functor |
|---|
equals, hashCode, toString |
| Methods inherited from interface orbital.math.Arithmetic |
|---|
add, divide, equals, inverse, isOne, isZero, minus, multiply, one, power, scale, subtract, toString, zero |
| Methods inherited from interface orbital.math.Normed |
|---|
norm |
|
Orbital library 1.2.0: 23 Apr 2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||