|
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.Variable<X>
X
- A set forms a field.public class Variable<X extends Field<X>>
Variables in X forms a field.
Method Summary | |
---|---|
Constant<X> |
diff(Variable<X> i_v)
Returns an object of D whose value is the derivative with respect to i_v. |
java.lang.String |
getName()
Returns the name of this variable. |
X |
getValue()
Returns the value in X of the function. |
boolean |
isVariable()
Returns true if this is a variable. |
void |
set(X i_v)
Set this value to i_v. |
java.lang.String |
toString()
|
Methods inherited from class nilgiri.math.autodiff.DifferentialFunction |
---|
div, inverse, isConstant, minus, mul, mul, negate, plus, pow |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public void set(X i_v)
i_v
- public boolean isVariable()
DifferentialFunction
isVariable
in class DifferentialFunction<X extends Field<X>>
public X getValue()
DifferentialFunction
getValue
in class DifferentialFunction<X extends Field<X>>
public Constant<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>>
|
JAutoDiff | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |