Cosine CrossDistances
Description
Compute cosine crossdistances between the rows of matrices.
Usage
1  skmeans_xdist(x, y = NULL)

Arguments
x 
A numeric data matrix. Can be a dense matrix, simple triplet matrix (package slam), or a dgTMatrix (package Matrix). 
y 

Value
A dense matrix d with entry d_{ij} = 1  \cos(x_i, y_j)
the cosine distance between the ith row x_i of x
and the jth row y_j of y
.