Commit | Line | Data |
---|---|---|
81923e5c BA |
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 |