mln::fun::stat::mahalanobis< V > Struct Template Reference

#include <mahalanobis.hh>

Inheritance diagram for mln::fun::stat::mahalanobis< V >:

Inheritance graph

List of all members.

Public Types

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

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, float > mean_
algebra::mat< n, n, float > var_1_


Detailed Description

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

Definition at line 49 of file mahalanobis.hh.


Member Typedef Documentation

template<typename E>
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited]

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 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.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 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.


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 
) [inline]


Member Function Documentation

template<typename V>
mahalanobis< V >::mean_t mln::fun::stat::mahalanobis< V >::mean (  )  const [inline]

Definition at line 94 of file mahalanobis.hh.

References mln::fun::stat::mahalanobis< V >::mean_.

template<typename V>
float mln::fun::stat::mahalanobis< V >::operator() ( const V &  v  )  const [inline]


Member Data Documentation

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

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


Generated on Sun Apr 25 02:01:45 2010 for Milena (Olena) by  doxygen 1.5.6