26 void SetData (
const RVector *_data);
27 void SetSD (
const RVector *_sd);
28 void SetScalingMatrix (
const RMatrix *mat);
29 void SetGMRFParam (
double _gmrf_exp,
double _hypermua,
double _hyperkappa,
30 const int *_nbg_rowptr,
const int *_nbg_colidx);
31 void SetTVParam (
double _tv_beta2,
double _hypermua,
double _hyperkappa);
32 const RVector *Data () {
return data; }
33 const RVector *SD () {
return sd; }
34 double get_posterior (
const RVector *proj)
const;
36 static double get_prior (PRIOR_OLD prior,
const RVector &x,
const RVector &xp,
45 void get_gradient (
const Raster &raster,
59 const int *nbg_rowptr, *nbg_colidx;
63 inline void ObjectiveFunction::SetData (
const RVector *_data)
66 inline void ObjectiveFunction::SetSD (
const RVector *_sd)
69 inline void ObjectiveFunction::SetScalingMatrix (
const RMatrix *mat)
72 inline void ObjectiveFunction::SetGMRFParam (
double _gmrf_exp,
73 double _hypermua,
double _hyperkappa,
74 const int *_nbg_rowptr,
const int *_nbg_colidx)
78 hyper[1] = _hyperkappa;
79 nbg_rowptr = _nbg_rowptr;
80 nbg_colidx = _nbg_colidx;
88 STOASTLIB
double penalty_tikh0 (
const RVector &x,
const RVector &x0,
90 STOASTLIB
void penalty_gradient_tikh0_add (
const RVector &x,
const RVector &x0,
92 STOASTLIB
void penalty_gradient_tikh0_rescale_add (
const RVector &x,
const RVector &x0,
93 RVector &grad,
const double tau);
94 STOASTLIB
double penalty_tikh1 (
const RVector &x,
const RVector &x0,
96 STOASTLIB
void penalty_gradient_tikh1_add (
const RVector &x,
const RVector &x0,
97 RVector &grad,
const double tau1,
const double tau2,
Base class for mapping between mesh and an independent basis representation.
Definition: raster.h:20
Templated forward solver class.
Definition: fwdsolver.h:37
Definition: solution.h:39