Orbital library

orbital.math.functional
Interface Function

All Superinterfaces:
Arithmetic, Function, Functor, MathFunctor, Normed
All Known Subinterfaces:
Function.Composite, Polynomial, UnivariatePolynomial

public interface Function
extends Function, MathFunctor

This interface encapsulates a mathematical unary function "r = f(x)".

apply: A→B; x ↦ f(x).

Since:
Orbital1.0
Author:
André Platzer
See Also:
Function
Structure:
inherit orbital.logic.functor.Function, inherit orbital.math.functional.MathFunctor

Nested Class Summary
static interface Function.Composite
          A composite function.
 
Nested classes/interfaces inherited from interface orbital.logic.functor.Functor
Functor.Specification
 
Nested classes/interfaces inherited from interface orbital.logic.functor.Functor
Functor.Specification
 
Field Summary
 
Fields inherited from interface orbital.logic.functor.Function
callTypeDeclaration
 
Fields inherited from interface orbital.math.Arithmetic
numerical
 
Method Summary
 Function derive()
          Derives this function and returns the resulting Function df/dx.
 Function integrate()
          Integrates this function and returns the resulting indefinite integral ∫ f dx.
 
Methods inherited from interface orbital.logic.functor.Function
apply
 
Methods inherited from interface orbital.logic.functor.Functor
equals, hashCode, toString
 
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, valueFactory, zero
 
Methods inherited from interface orbital.math.Normed
norm
 

Method Detail

derive

Function derive()
Derives this function and returns the resulting Function df/dx.

Returns:
the derived Function df/dx = f'. Which is the (total) derivative with respect to the argument x. The partial derivative with respect to the argument x would be ∂f/∂x.
Throws:
java.lang.ArithmeticException - if this function is not derivable.
java.lang.UnsupportedOperationException - if this function does not implement derivation but could principally be derived.

integrate

Function integrate()
Integrates this function and returns the resulting indefinite integral ∫ f dx.

Returns:
the indefinite integral Function ∫ f dx.
Throws:
java.lang.ArithmeticException - if this function is not integrable.
java.lang.UnsupportedOperationException - if this function does not implement integration but could principally be integrated.

Orbital library
1.3.0: 11 Apr 2009

Copyright © 1996-2009 André Platzer
All Rights Reserved.