b3b51f92735281b62c22cf8788b2739b1384df63
[ppam-mpi.git] / code / src / Algorithm / get_dissimilarities.h
1 #ifndef PPAM_GET_DISSIMILARITIES_H
2 #define PPAM_GET_DISSIMILARITIES_H
3
4 #include "Util/types.h"
5
6 // compute L^p dissimilarities for a nxm matrix
7 Real* get_dissimilarities_intra(Real* samples, uint32_t nbSamples, uint32_t nbValues, uint32_t p);
8
9 // compute L^p dissimilarities between rows of 2 matrices
10 Real* get_dissimilarities_inter(Real* mat1, uint32_t n1, Real* mat2, uint32_t n2,
11 uint32_t nbValues, uint32_t p);
12
13 #endif