chernoff.cpp File Reference
#include "chernoff.h"
#include <cmath>
#include <Eigen/Core>
#include <Eigen/Eigenvalues>
+ Include dependency graph for chernoff.cpp:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::aron
 
 armarx::aron::similarity
 
 armarx::aron::similarity::chernoff
 

Functions

double calculate_bhattacharyya_distance (std::vector< double > mean_one, std::vector< double > mean_two, std::vector< std::vector< double > > covariance_one, std::vector< std::vector< double > > covariance_two)
 
std::vector< std::vector< double > > calculate_covariance_matrix (data::NDArray array, std::vector< double > mean=std::vector< double >())
 
std::vector< double > calculate_mean_values (data::NDArray array)
 
double compute_similarity (const aron::data::NDArrayPtr p1, const aron::data::NDArrayPtr p2)
 
data::NDArray normalize_ndarray (data::NDArrayPtr array, int j)