14 #ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_UNMAP_HPP
15 #define __MLPACK_METHODS_NEIGHBOR_SEARCH_UNMAP_HPP
37 void Unmap(
const arma::Mat<size_t>& neighbors,
38 const arma::mat& distances,
39 const std::vector<size_t>& referenceMap,
40 const std::vector<size_t>& queryMap,
41 arma::Mat<size_t>& neighborsOut,
42 arma::mat& distancesOut,
43 const bool squareRoot =
false);
58 void Unmap(
const arma::Mat<size_t>& neighbors,
59 const arma::mat& distances,
60 const std::vector<size_t>& referenceMap,
61 arma::Mat<size_t>& neighborsOut,
62 arma::mat& distancesOut,
63 const bool squareRoot =
false);
Linear algebra utility functions, generally performed on matrices or vectors.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
void Unmap(const arma::Mat< size_t > &neighbors, const arma::mat &distances, const std::vector< size_t > &referenceMap, const std::vector< size_t > &queryMap, arma::Mat< size_t > &neighborsOut, arma::mat &distancesOut, const bool squareRoot=false)
Assuming that the datasets have been mapped using the referenceMap and the queryMap (such as during k...