Skip to contents

Computes pairwise Euclidean distance matrix for spatial coordinates.

Usage

dist_matrix_cpp(coords)

Arguments

coords

Numeric matrix of coordinates (spots x 2)

Value

Symmetric distance matrix