#include <mahalanobis.hh>
Public Types | |
enum | { n = V::dim } |
typedef Function_v2v< void > | category |
typedef mahalanobis< V > | 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_ |
Definition at line 49 of file mahalanobis.hh.
typedef Function_v2v<void> mln::Function_v2v< mahalanobis< V > >::category [inherited] |
Reimplemented from mln::Function< mahalanobis< V > >.
Definition at line 126 of file function.hh.
typedef mahalanobis< V > mln::Object< mahalanobis< V > >::exact_t [inherited] |
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 127 of file function.hh.
typedef float mln::fun::stat::mahalanobis< V >::result |
Definition at line 54 of file mahalanobis.hh.
anonymous enum |
Definition at line 53 of file mahalanobis.hh.
mln::fun::stat::mahalanobis< V >::mahalanobis | ( | const algebra::mat< n, n, float > & | var, | |
const algebra::vec< n, float > & | mean | |||
) | [inline] |
Definition at line 76 of file mahalanobis.hh.
References mln::algebra::mat< n, m, T >::_1(), mln::fun::stat::mahalanobis< V >::mean_, and mln::fun::stat::mahalanobis< V >::var_1_.
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_.
float mln::fun::stat::mahalanobis< V >::operator() | ( | const V & | v | ) | const [inline] |
Definition at line 86 of file mahalanobis.hh.
References mln::fun::stat::mahalanobis< V >::mean_, and mln::fun::stat::mahalanobis< V >::var_1_.
algebra::vec<n,float> mln::fun::stat::mahalanobis< V >::mean_ [protected] |
Definition at line 68 of file mahalanobis.hh.
Referenced by mln::fun::stat::mahalanobis< V >::mahalanobis(), mln::fun::stat::mahalanobis< V >::mean(), and mln::fun::stat::mahalanobis< V >::operator()().
algebra::mat<n,n,float> mln::fun::stat::mahalanobis< V >::var_1_ [protected] |
Definition at line 67 of file mahalanobis.hh.
Referenced by mln::fun::stat::mahalanobis< V >::mahalanobis(), and mln::fun::stat::mahalanobis< V >::operator()().