|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectasu.seismo.signals.min1d.minimizable1d_fdg
public abstract class minimizable1d_fdg
Provides a function to approximate the gradient with finite differences.
Constructor Summary | |
---|---|
minimizable1d_fdg()
|
Method Summary | |
---|---|
double |
checkGrad()
|
abstract double |
getF()
Get the value of the function |
double |
getF(doubleSignal1d grad)
Get the value of the function and its gradient |
double |
getFDGrad(doubleSignal1d grad)
|
abstract int |
getLength()
Get length of the function argument |
abstract doubleSignal1d |
getX()
|
abstract void |
setX(doubleSignal1d x)
Set x value at with the function will be evaluated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public minimizable1d_fdg()
Method Detail |
---|
public double getFDGrad(doubleSignal1d grad) throws invalid_data_exception, size_mismatch_exception
invalid_data_exception
size_mismatch_exception
public double getF(doubleSignal1d grad) throws invalid_data_exception, size_mismatch_exception
minimizable1d
getF
in interface minimizable1d
invalid_data_exception
size_mismatch_exception
public abstract void setX(doubleSignal1d x) throws invalid_data_exception, size_mismatch_exception
minimizable1d
setX
in interface minimizable1d
invalid_data_exception
size_mismatch_exception
public abstract double getF() throws invalid_data_exception, size_mismatch_exception
minimizable1d
getF
in interface minimizable1d
invalid_data_exception
size_mismatch_exception
public abstract int getLength()
minimizable1d
getLength
in interface minimizable1d
public abstract doubleSignal1d getX()
getX
in interface minimizable1d
public double checkGrad() throws invalid_data_exception, size_mismatch_exception
invalid_data_exception
size_mismatch_exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |