#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_ |
typedef Function_v2v<void> mln::Function_v2v< mahalanobis< V > >::category [inherited] |
Reimplemented from mln::Function< mahalanobis< V > >.
typedef mahalanobis< V > mln::Object< mahalanobis< V > >::exact_t [inherited] |
typedef algebra::vec<n,float> mln::fun::stat::mahalanobis< V >::mean_t |
typedef void mln::Function_v2v< mahalanobis< V > >::mutable_result [inherited] |
typedef float mln::fun::stat::mahalanobis< V >::result |
mln::fun::stat::mahalanobis< V >::mahalanobis | ( | const algebra::mat< n, n, float > & | var, | |
const algebra::vec< n, float > & | mean | |||
) | [inline] |
mahalanobis< V >::mean_t mln::fun::stat::mahalanobis< V >::mean | ( | ) | const [inline] |
References mln::fun::stat::mahalanobis< V >::mean_.
float mln::fun::stat::mahalanobis< V >::operator() | ( | const V & | v | ) | const [inline] |
algebra::vec<n,float> mln::fun::stat::mahalanobis< V >::mean_ [protected] |
algebra::mat<n,n,float> mln::fun::stat::mahalanobis< V >::var_1_ [protected] |