physics
Class Newton.Result
java.lang.Object
physics.Newton.Result
- Enclosing class:
- Newton
public static final class Newton.Result
- extends java.lang.Object
Newton.Result is a record type which aggregates the results of
evaluating both a function at a point and its derriviative.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
f
public final double f
f_prime
public final double f_prime
Newton.Result
public Newton.Result(double f,
double f_prime)
undefined
public boolean undefined()
funcSignChance
public boolean funcSignChance(Newton.Result other)
derivativeSignChance
public boolean derivativeSignChance(Newton.Result other)
signChange
public boolean signChange(Newton.Result other)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object