|
| static float | sqrf (float n) |
| |
| static void | heap_down (dist_id *heap, size_t start, size_t lim) |
| |
| template<class distf > |
| static void | knn (const float *point, const float *hidim_lm, size_t n_landmarks, size_t dim, size_t topnn, vector< dist_id > &dists) |
| |
| template<int embed_dim> |
| static void | add_gravity (const float *lodim_lm, float score, float *mtx) |
| |
| template<int embed_dim> |
| static float | dotp_ec (const float *a, const float *b) |
| |
| template<int embed_dim> |
| static void | add_approximation (float score_i, float score_j, const float *ilm, const float *jlm, float scalar_proj, float adjust, float *mtx) |
| |
| template<int embed_dim> |
| static void | solve_lin_eq (const float *mtx, float *embedding) |
| |
| template<class distf > |
| static void | sorted_dists_to_scores (vector< dist_id > &dists, const size_t topn, const size_t topnn, const float boost) |
| |
| template<class distf , int embed_dim> |
| static void | embedsom_point (const size_t n_landmarks, const size_t dim, const float boost, const size_t topn, const float adjust, const float *point, const float *hidim_lm, const float *lodim_lm, float *embedding, vector< dist_id > &dists) |
| |
| void | embedsom (size_t n, size_t n_landmarks, size_t dim, float boost, size_t topn, float adjust, const float *points, const float *hidim_lm, const float *lodim_lm, float *embedding) |
| |