Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Public Member Functions | Static Public Member Functions | List of all members
ObjectiveFunction Class Reference

Public Member Functions

 ObjectiveFunction (const Raster *_raster)
 
void SetData (const RVector *_data)
 
void SetSD (const RVector *_sd)
 
void SetScalingMatrix (const RMatrix *mat)
 
void SetGMRFParam (double _gmrf_exp, double _hypermua, double _hyperkappa, const int *_nbg_rowptr, const int *_nbg_colidx)
 
void SetTVParam (double _tv_beta2, double _hypermua, double _hyperkappa)
 
const RVectorData ()
 
const RVectorSD ()
 
double get_posterior (const RVector *proj) const
 
double get_value (const RVector *proj, const Solution *sol=0) const
 
void add_gradient_data (RVector &grad, const Raster &raster, const CFwdSolver &FWS, const RVector &proj, CVector *dphi, const CCompRowMatrix &mvec) const
 
void add_gradient_prior (const Solution &so, RVector &grad) const
 
void get_gradient (const Raster &raster, const CFwdSolver &FWS, const RVector &proj, CVector *dphi, const CCompRowMatrix &mvec, const Solution *sol, RVector &grad) const
 
RVector get_gradient ()
 

Static Public Member Functions

static double get_prior (PRIOR_OLD prior, const RVector &x, const RVector &xp, const RVector &x0, double tau, const RCompRowMatrix &LTL)
 
static double get_value (const RVector &data, const RVector &proj, const RVector &sd, const RMatrix *scale=0)
 

The documentation for this class was generated from the following file: