mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
mx::math::fit::array2FitGammaDistribution< realT > Struct Template Reference

template<typename realT>
struct mx::math::fit::array2FitGammaDistribution< realT >

Wrapper for a native array to pass to levmarInterface, with GammaDistribution details.

Definition at line 217 of file fitGammaDistribution.hpp.

#include <math/fit/fitGammaDistribution.hpp>

Public Attributes

realT * data {nullptr}
 Pointer to the array. More...
 
size_t n {0}
 dimension of the array More...
 
realT x0 {0}
 the location parameter. More...
 
realT k {0}
 the shape parameter More...
 
realT theta {0}
 the scale parameter More...
 
realT denom {0}
 the denominator or 1/peak-scale More...
 

Member Data Documentation

◆ data

template<typename realT >
realT* mx::math::fit::array2FitGammaDistribution< realT >::data {nullptr}

Pointer to the array.

Definition at line 219 of file fitGammaDistribution.hpp.

◆ denom

template<typename realT >
realT mx::math::fit::array2FitGammaDistribution< realT >::denom {0}

the denominator or 1/peak-scale

Definition at line 225 of file fitGammaDistribution.hpp.

◆ k

template<typename realT >
realT mx::math::fit::array2FitGammaDistribution< realT >::k {0}

the shape parameter

Definition at line 223 of file fitGammaDistribution.hpp.

◆ n

template<typename realT >
size_t mx::math::fit::array2FitGammaDistribution< realT >::n {0}

dimension of the array

Definition at line 220 of file fitGammaDistribution.hpp.

◆ theta

template<typename realT >
realT mx::math::fit::array2FitGammaDistribution< realT >::theta {0}

the scale parameter

Definition at line 224 of file fitGammaDistribution.hpp.

◆ x0

template<typename realT >
realT mx::math::fit::array2FitGammaDistribution< realT >::x0 {0}

the location parameter.

Definition at line 222 of file fitGammaDistribution.hpp.


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