#include <bsta_weibull.h>
Public Types | |
enum | { dimension = 1 } |
The dimension of the distribution. More... | |
typedef T | math_type |
The type used for calculations. | |
typedef T | vector_type |
The type used for a n-dimensional vector of math types. | |
typedef vector_type | field_type |
for compatibility with vpdl/vpdt. | |
Public Member Functions | |
bsta_weibull () | |
bsta_weibull (vector_ const &lambda, vector_ const &k) | |
two parameter form. | |
bsta_weibull (vector_ const &lambda, vector_ const &k, vector_ const &mu) | |
three parameter form (the "shifted" Weibull). | |
~bsta_weibull () | |
destructor. | |
vector_ | lambda () const |
the scale parameter. | |
vector_ | k () const |
the shape parameter. | |
vector_ | mu () const |
the location parameter. | |
vector_ | mean () const |
The mean of the distribution, for 1-d the vector_ is typedefed to T. | |
covar_type_ | var () const |
The variance of the distribution. | |
covar_type_ | covar () const |
The co_variance of the distribution same as variance for 1-d case. | |
T | prob_density (const vector_ &pt) const |
The probability density at this sample. | |
T | probability (const vector_ &min_pt, const vector_ &max_pt) const |
The probability integrated over a box. | |
Protected Attributes | |
vector_ | lambda_ |
vector_ | mu_ |
vector_ | k_ |
Private Types | |
typedef bsta_distribution< T, 1 > ::vector_type | vector_ |
typedef bsta_distribution< T, 1 > ::vector_type | covar_type_ |
Definition at line 36 of file bsta_weibull.h.
typedef bsta_distribution<T,1>::vector_type bsta_weibull< T >::covar_type_ [private] |
Definition at line 39 of file bsta_weibull.h.
typedef vector_type bsta_distribution< T, 1 >::field_type [inherited] |
for compatibility with vpdl/vpdt.
Definition at line 47 of file bsta_distribution.h.
typedef T bsta_distribution< T, 1 >::math_type [inherited] |
The type used for calculations.
Definition at line 42 of file bsta_distribution.h.
typedef bsta_distribution<T,1>::vector_type bsta_weibull< T >::vector_ [private] |
Definition at line 38 of file bsta_weibull.h.
typedef T bsta_distribution< T, 1 >::vector_type [inherited] |
The type used for a n-dimensional vector of math types.
Definition at line 44 of file bsta_distribution.h.
anonymous enum [inherited] |
The dimension of the distribution.
Definition at line 40 of file bsta_distribution.h.
bsta_weibull< T >::bsta_weibull | ( | ) |
Definition at line 13 of file bsta_weibull.txx.
bsta_weibull< T >::bsta_weibull | ( | vector_ const & | lambda, |
vector_ const & | k | ||
) |
two parameter form.
Definition at line 19 of file bsta_weibull.txx.
bsta_weibull< T >::bsta_weibull | ( | vector_ const & | lambda, |
vector_ const & | k, | ||
vector_ const & | mu | ||
) |
three parameter form (the "shifted" Weibull).
Definition at line 24 of file bsta_weibull.txx.
bsta_weibull< T >::~bsta_weibull | ( | ) | [inline] |
destructor.
Definition at line 50 of file bsta_weibull.h.
covar_type_ bsta_weibull< T >::covar | ( | ) | const [inline] |
The co_variance of the distribution same as variance for 1-d case.
Definition at line 85 of file bsta_weibull.h.
vector_ bsta_weibull< T >::k | ( | ) | const [inline] |
the shape parameter.
Definition at line 56 of file bsta_weibull.h.
vector_ bsta_weibull< T >::lambda | ( | ) | const [inline] |
the scale parameter.
Definition at line 53 of file bsta_weibull.h.
bool bsta_sample_set< T, n >::mean | ( | ) | const [inline] |
The mean of the distribution, for 1-d the vector_ is typedefed to T.
Compute the mean in a window around the given pt, the window size is the bandwidth.
If there are no points within bandwidth of the input pt, return false
Definition at line 62 of file bsta_weibull.h.
vector_ bsta_weibull< T >::mu | ( | ) | const [inline] |
the location parameter.
Definition at line 59 of file bsta_weibull.h.
T bsta_weibull< T >::prob_density | ( | const vector_ & | pt | ) | const |
The probability density at this sample.
The probability density at sample pt, specialized to scalar samples.
The probability density at sample pt, the general case.
Definition at line 162 of file bsta_parzen_sphere.txx.
T bsta_weibull< T >::probability | ( | const vector_ & | min_pt, |
const vector_ & | max_pt | ||
) | const |
The probability integrated over a box.
The probability density integrated over a box, specialized to scalar case.
The probability density integrated over a box, general case.
Definition at line 180 of file bsta_parzen_sphere.txx.
covar_type_ bsta_weibull< T >::var | ( | ) | const [inline] |
The variance of the distribution.
Definition at line 73 of file bsta_weibull.h.
vector_ bsta_weibull< T >::k_ [protected] |
Definition at line 97 of file bsta_weibull.h.
vector_ bsta_weibull< T >::lambda_ [protected] |
Definition at line 95 of file bsta_weibull.h.
vector_ bsta_weibull< T >::mu_ [protected] |
Definition at line 96 of file bsta_weibull.h.