mCosSimilarity: Compute cosine similarity for every pair of rows from given...

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

Compute cosine similarity for every pair of rows from given matrix

Usage

1
mCosSimilarity(input_mat)

Arguments

input_mat

numeric input matrix

Value

Upper triangle matrix where {i, j} element is the cosine similarity of i-th and j-th row of the original matrix.

See Also

vCosSimilarity


vh-d/RPortfolioSimilarity documentation built on Oct. 17, 2019, 3:11 a.m.