$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::fun::stat::mahalanobis< V > Struct Template Reference

#include <mln/fun/stat/mahalanobis.hh>

Public Member Functions

 mahalanobis (const algebra::mat< n, n, float > &var, const algebra::vec< n, float > &mean)
mean_t mean () const
float operator() (const V &v) const

Protected Attributes

algebra::vec< n, floatmean_
algebra::mat< n, n, floatvar_1_

Public Types

enum  { n = V::dim }
typedef Function_v2v< void > category
typedef mahalanobis< V > exact_t
typedef algebra::vec< n, floatmean_t
typedef void mutable_result
typedef float result

Detailed Description

template<typename V>
struct mln::fun::stat::mahalanobis< V >

Definition at line 49 of file mahalanobis.hh.

Constructor & Destructor Documentation

template<typename V>
mln::fun::stat::mahalanobis< V >::mahalanobis ( const algebra::mat< n, n, float > &  var,
const algebra::vec< n, float > &  mean 
)

Member Function Documentation

template<typename V>
mean_t mln::fun::stat::mahalanobis< V >::mean ( ) const
template<typename V>
float mln::fun::stat::mahalanobis< V >::operator() ( const V &  v) const

Member Data Documentation

template<typename V>
algebra::vec<n,float> mln::fun::stat::mahalanobis< V >::mean_
protected

Definition at line 68 of file mahalanobis.hh.

template<typename V>
algebra::mat<n,n,float> mln::fun::stat::mahalanobis< V >::var_1_
protected

Definition at line 67 of file mahalanobis.hh.

Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< mahalanobis< V > >::category
inherited

Definition at line 134 of file function.hh.

typedef mahalanobis< V > mln::Object< mahalanobis< V > >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename V>
typedef algebra::vec<n,float> mln::fun::stat::mahalanobis< V >::mean_t

Definition at line 62 of file mahalanobis.hh.

typedef void mln::Function_v2v< mahalanobis< V > >::mutable_result
inherited

Definition at line 135 of file function.hh.

template<typename V>
typedef float mln::fun::stat::mahalanobis< V >::result

Definition at line 54 of file mahalanobis.hh.

Member Enumeration Documentation

template<typename V>
anonymous enum
Enumerator:
n 

Definition at line 53 of file mahalanobis.hh.