Public Types | Public Member Functions | Protected Attributes | Private Types
bsta_weibull< T > Class Template Reference

#include <bsta_weibull.h>

Inheritance diagram for bsta_weibull< T >:
Inheritance graph
[legend]

List of all members.

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.
prob_density (const vector_ &pt) const
 The probability density at this sample.
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_

Detailed Description

template<class T>
class bsta_weibull< T >

Definition at line 36 of file bsta_weibull.h.


Member Typedef Documentation

template<class T>
typedef bsta_distribution<T,1>::vector_type bsta_weibull< T >::covar_type_ [private]

Definition at line 39 of file bsta_weibull.h.

template<class T >
typedef vector_type bsta_distribution< T, 1 >::field_type [inherited]

for compatibility with vpdl/vpdt.

Definition at line 47 of file bsta_distribution.h.

template<class T >
typedef T bsta_distribution< T, 1 >::math_type [inherited]

The type used for calculations.

Definition at line 42 of file bsta_distribution.h.

template<class T>
typedef bsta_distribution<T,1>::vector_type bsta_weibull< T >::vector_ [private]

Definition at line 38 of file bsta_weibull.h.

template<class T >
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.


Member Enumeration Documentation

template<class T >
anonymous enum [inherited]

The dimension of the distribution.

Enumerator:
dimension 

Definition at line 40 of file bsta_distribution.h.


Constructor & Destructor Documentation

template<class T >
bsta_weibull< T >::bsta_weibull ( )

Definition at line 13 of file bsta_weibull.txx.

template<class T >
bsta_weibull< T >::bsta_weibull ( vector_ const &  lambda,
vector_ const &  k 
)

two parameter form.

Definition at line 19 of file bsta_weibull.txx.

template<class T >
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.

template<class T>
bsta_weibull< T >::~bsta_weibull ( ) [inline]

destructor.

Definition at line 50 of file bsta_weibull.h.


Member Function Documentation

template<class T>
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.

template<class T>
vector_ bsta_weibull< T >::k ( ) const [inline]

the shape parameter.

Definition at line 56 of file bsta_weibull.h.

template<class T>
vector_ bsta_weibull< T >::lambda ( ) const [inline]

the scale parameter.

Definition at line 53 of file bsta_weibull.h.

template<class T>
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.

template<class T>
vector_ bsta_weibull< T >::mu ( ) const [inline]

the location parameter.

Definition at line 59 of file bsta_weibull.h.

template<class T >
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.

template<class T >
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.

Returns:
a probability

Definition at line 180 of file bsta_parzen_sphere.txx.

template<class T>
covar_type_ bsta_weibull< T >::var ( ) const [inline]

The variance of the distribution.

Definition at line 73 of file bsta_weibull.h.


Member Data Documentation

template<class T>
vector_ bsta_weibull< T >::k_ [protected]

Definition at line 97 of file bsta_weibull.h.

template<class T>
vector_ bsta_weibull< T >::lambda_ [protected]

Definition at line 95 of file bsta_weibull.h.

template<class T>
vector_ bsta_weibull< T >::mu_ [protected]

Definition at line 96 of file bsta_weibull.h.


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