fastDistV {prospectr}R Documentation

A fast distance algorithm for a matrix and a vector written in C++

Description

A fast distance algorithm for a matrix and a vector written in C++

Usage

fastDistV(X,Y,method)

Arguments

X

a matrix

Y

a vector

method

a string with possible values "euclid", "cor", "cosine"

Value

a distance vector

Author(s)

Antoine Stevens and Leonardo Ramirez-Lopez


[Package prospectr version 0.1.3 Index]