JAutoDiff

nilgiri.math
Interface Field<X>

Type Parameters:
X - A set forms a field.
All Superinterfaces:
CommutativeGroup<X>, CommutativeRing<X>, Group<X>, Ring<X>
All Known Subinterfaces:
ComplexNumber<R,X>, RealNumber<X>
All Known Implementing Classes:
AbstractBinaryFunction, AbstractUnaryFunction, Constant, DifferentialFunction, DoubleComplex, DoubleReal, Inverse, Negative, One, PolynomialTerm, Product, Sum, Variable, Zero

public interface Field<X>
extends CommutativeRing<X>

A class X implements the Field<X> interface indicates that X has properties of being a field.


Method Summary
 X div(X i_v)
          Returns an object of X whose value is (this / i_v).
 X inverse()
          Returns an object of X whose value is (1 / this).
 
Methods inherited from interface nilgiri.math.Ring
mul, pow
 
Methods inherited from interface nilgiri.math.Group
minus, mul, negate, plus
 

Method Detail

inverse

X inverse()
Returns an object of X whose value is (1 / this).

Returns:
1 / this

div

X div(X i_v)
Returns an object of X whose value is (this / i_v).

Parameters:
i_v -
Returns:
this / i_v

JAutoDiff

JAutoDiff website