dotmat: Dot product similarity between a vector and matrix

View source: R/RcppExports.R

dotmatR Documentation

Dot product similarity between a vector and matrix

Description

Computes the dot product between a vector and a given matrix. The vector returned has a dot product similarity value for each row in the matrix.

Usage

dotmat(a, b, norm = TRUE)

Arguments

a

numeric vector

b

numeric matrix

norm

logical, compute normalised dot product, default=True

Value

numeric vector containing dot product scores


superml documentation built on May 29, 2024, 1:09 a.m.