dptmCpp: Calculate distances from a set of points to a set of centroids
Description
A function that calculates a NxM matrix of distances between a NxP set of
points and a MxP set of points.
Usage
dptmCpp(pts, myMeans, wgts)
Arguments
myMeans
A matrix of centroids, must have same ncol as pts
wgts
A Px1 vector of variable weights
Value
A MxP matrix of distances