Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
Solution Class Reference
Inheritance diagram for Solution:
MWsolution

Public Member Functions

 Solution (int nparam, int n)
 
 Solution (const Solution &sol)
 
int nParam () const
 
void SetParam (int which, const RVector &prm)
 
void SetParam (int which, double prm)
 
void Set (const RVector &prm)
 
const RVector GetParam (int which) const
 
const RVector GetActiveParams () const
 
void SetActiveParams (const RVector &prm)
 
void SetActive (int which, bool act)
 
bool IsActive (int which) const
 
int nActive () const
 
int ActiveDim () const
 
void Extents (int which, double &vmin, double &vmax) const
 
bool Bounded (int which, double vmin, double vmax)
 
bool Valid ()
 
void Scale (int which, double factor)
 
void Add (const Solution &sol)
 
void vmul (const Solution &sol)
 
void vmul (const RVector &v) const
 
Solutionoperator= (const Solution &sol)
 
Solution operator* (double s) const
 
Solutionoperator*= (double s)
 
Solution operator+ (const Solution &sol) const
 
Solution operator+ (const RVector &v) const
 
Solutionoperator*= (const RVector &v)
 
Solutionoperator+= (const Solution &sol)
 
Solutionoperator+= (const RVector &v)
 
void WriteImgGeneric (int imgno, const char *filename, int prmind, bool append=true)
 
void WriteImg_mua (int imgno, const char *nimname, bool append=true)
 
void WriteImg_mus (int imgno, const char *nimname, bool append=true)
 

Static Public Member Functions

static void WriteImgGeneric (int imgno, const char *filename, const RVector &img, bool append=true)
 

Protected Attributes

int nprm
 
RVectorparam
 
bool * active
 
int nactive
 

Friends

class Raster
 
STOASTLIB double l2norm (const Solution &sol)
 
STOASTLIB Solution exp (const Solution &sol)
 
STOASTLIB Solution log (const Solution &sol)
 

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