|
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.AbstractUnaryFunction<X>
nilgiri.math.autodiff.Negative<X>
X
- A set forms a field.public class Negative<X extends Field<X>>
This class represents the inverse element of an argument in X with respect to addition.
Constructor Summary | |
---|---|
Negative(DifferentialFunction<X> i_v)
Constructs an object whose value is (- i_v). |
Method Summary | |
---|---|
DifferentialFunction<X> |
diff(Variable<X> i_v)
Returns an object of D whose value is the derivative with respect to i_v. |
X |
getValue()
Returns the value in X of the function. |
DifferentialFunction<X> |
negate()
Returns an object of X whose value is (- this). |
java.lang.String |
toString()
|
Methods inherited from class nilgiri.math.autodiff.AbstractUnaryFunction |
---|
arg |
Methods inherited from class nilgiri.math.autodiff.DifferentialFunction |
---|
div, inverse, isConstant, isVariable, minus, mul, mul, plus, pow |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Negative(DifferentialFunction<X> i_v)
i_v
- Method Detail |
---|
public X getValue()
DifferentialFunction
getValue
in class DifferentialFunction<X extends Field<X>>
public DifferentialFunction<X> diff(Variable<X> i_v)
Differential
diff
in interface Differential<Variable<X extends Field<X>>,DifferentialFunction<X extends Field<X>>>
diff
in class DifferentialFunction<X extends Field<X>>
public java.lang.String toString()
toString
in class DifferentialFunction<X extends Field<X>>
public DifferentialFunction<X> negate()
Group
negate
in interface Group<DifferentialFunction<X extends Field<X>>>
negate
in class DifferentialFunction<X extends Field<X>>
|
JAutoDiff | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |