#include <bsta_fit_weibull.h>
Public Member Functions | |
bsta_fit_weibull () | |
bsta_fit_weibull (bsta_weibull_cost_function *wcf) | |
void | set_cost_function (bsta_weibull_cost_function *wcf) |
bool | init (T &k) |
provides an initial guess for k. | |
void | solve (T &k) |
solves for k that matches the sample mean and variance ratio. | |
T | residual () const |
the residual after solving. | |
T | lambda (T const &k) const |
the Weibull scale parameter. | |
Private Attributes | |
bsta_weibull_cost_function * | wcf_ |
T | residual_ |
Definition at line 53 of file bsta_fit_weibull.h.
bsta_fit_weibull< T >::bsta_fit_weibull | ( | ) | [inline] |
Definition at line 56 of file bsta_fit_weibull.h.
bsta_fit_weibull< T >::bsta_fit_weibull | ( | bsta_weibull_cost_function * | wcf | ) | [inline] |
Definition at line 57 of file bsta_fit_weibull.h.
bool bsta_fit_weibull< T >::init | ( | T & | k | ) | [inline] |
provides an initial guess for k.
Definition at line 63 of file bsta_fit_weibull.h.
T bsta_fit_weibull< T >::lambda | ( | T const & | k | ) | const [inline] |
the Weibull scale parameter.
Definition at line 93 of file bsta_fit_weibull.h.
T bsta_fit_weibull< T >::residual | ( | ) | const [inline] |
the residual after solving.
Definition at line 90 of file bsta_fit_weibull.h.
void bsta_fit_weibull< T >::set_cost_function | ( | bsta_weibull_cost_function * | wcf | ) | [inline] |
Definition at line 59 of file bsta_fit_weibull.h.
void bsta_fit_weibull< T >::solve | ( | T & | k | ) | [inline] |
solves for k that matches the sample mean and variance ratio.
Definition at line 80 of file bsta_fit_weibull.h.
T bsta_fit_weibull< T >::residual_ [private] |
Definition at line 102 of file bsta_fit_weibull.h.
bsta_weibull_cost_function* bsta_fit_weibull< T >::wcf_ [private] |
Definition at line 101 of file bsta_fit_weibull.h.