📄 compute_distance_to_points.m
字号:
function D = compute_distance_to_points(X,seeds)
% compute_distance_to_points - compute euclidean distance to a set of points.
%
% D = compute_distance_to_points(X,seeds)
%
% 'X' is a [d,n] matrix, X(:,i) is the ith point living in R^d.
% 'seeds' is a [d,k] matrix.
% D(i,j) = |X(:,j)-seeds(:,i)|^2.
%
% Copyright (c) 2004 Gabriel Peyr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -