calcDistArma: Compute Euclidean distance matrix by rows

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Compute Euclidean distance matrix by rows

Usage

1

Arguments

x

A numeric matrix

Value

a distance matrix

Examples

1
2
3
mat_test <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000)
#library(microbenchmark)
#microbenchmark(calcDistArma(mat_test), dist(mat_test), times=3)

scGPS documentation built on Nov. 8, 2020, 5:22 p.m.