Given n feature vectors x 1= (x 11,…,x 1p ), ..., x n = (x n1,…,x np ) of dimension p, the problem is to compute the symmetric n-by-n matrix D cos of distances between feature vectors:

D cos = (d i j ), where

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)