row_pdist: Minkowski distance between rows of two matrics

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Minkowski distance between rows of two matrics

Usage

1
row_pdist(x, y, p)

Arguments

x

numeric matrix of dimension n times k

y

numeric matrix of dimension m times k

p

the order of the norm

Value

matrix of dimension n times m where the (i,j)th element is the Minkowski distance of order p between the ith row of x and the jth row of y


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.