|
JAutoDiff | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnilgiri.math.autodiff.DifferentialFunction<X>
nilgiri.math.autodiff.Constant<X>
nilgiri.math.autodiff.Zero<X>
X
- A set forms a field.public class Zero<X extends Field<X>>
This class represents the zero element of X forms a field.
Constructor Summary | |
---|---|
Zero(AbstractFieldFactory<X> i_factory)
Constructs an object whose value is zero. |
Method Summary | |
---|---|
DifferentialFunction<X> |
inverse()
Returns an object of X whose value is (1 / this). |
DifferentialFunction<X> |
mul(DifferentialFunction<X> i_v)
Returns an object of X whose value is the product (this * i_v). |
DifferentialFunction<X> |
negate()
Returns an object of X whose value is (- this). |
DifferentialFunction<X> |
plus(DifferentialFunction<X> i_v)
Returns an object of X whose value is (this + i_v). |
Methods inherited from class nilgiri.math.autodiff.Constant |
---|
diff, getValue, isConstant, toString |
Methods inherited from class nilgiri.math.autodiff.DifferentialFunction |
---|
div, isVariable, minus, mul, pow |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Zero(AbstractFieldFactory<X> i_factory)
i_factory
- Method Detail |
---|
public DifferentialFunction<X> plus(DifferentialFunction<X> i_v)
Group
plus
in interface Group<DifferentialFunction<X extends Field<X>>>
plus
in class DifferentialFunction<X extends Field<X>>
public DifferentialFunction<X> mul(DifferentialFunction<X> i_v)
Ring
mul
in interface Ring<DifferentialFunction<X extends Field<X>>>
mul
in class DifferentialFunction<X extends Field<X>>
public DifferentialFunction<X> inverse()
Field
inverse
in interface Field<DifferentialFunction<X extends Field<X>>>
inverse
in class Constant<X extends Field<X>>
public DifferentialFunction<X> negate()
Group
negate
in interface Group<DifferentialFunction<X extends Field<X>>>
negate
in class Constant<X extends Field<X>>
|
JAutoDiff | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |