Learn R Programming

smile (version 1.1.0)

crossdist: Pairwise distances between two matrices (Eigen version)

Description

Computes Euclidean distance between rows of m1 and rows of m2.

Usage

crossdist(m1, m2)

Arguments

m1

A matrix where each row is a 2D coordinate.

m2

A matrix where each row is a 2D coordinate.