asu.seismo.signals.min1d
Interface minimizable1d

All Known Implementing Classes:
blurset.objectivef, blurset.objectiveh, blursetCumFG.objectiveh, minimizable1d_fdg

public interface minimizable1d

Interface for a function that can return a gradient.


Method Summary
 double getF()
          Get the value of the function
 double getF(doubleSignal1d grad)
          Get the value of the function and its gradient
 int getLength()
          Get length of the function argument
 doubleSignal1d getX()
           
 void setX(doubleSignal1d x)
          Set x value at with the function will be evaluated
 

Method Detail

setX

void setX(doubleSignal1d x)
          throws invalid_data_exception,
                 size_mismatch_exception
Set x value at with the function will be evaluated

Throws:
invalid_data_exception
size_mismatch_exception

getF

double getF()
            throws invalid_data_exception,
                   size_mismatch_exception
Get the value of the function

Throws:
invalid_data_exception
size_mismatch_exception

getF

double getF(doubleSignal1d grad)
            throws invalid_data_exception,
                   size_mismatch_exception
Get the value of the function and its gradient

Throws:
invalid_data_exception
size_mismatch_exception

getLength

int getLength()
Get length of the function argument


getX

doubleSignal1d getX()