HierarchicalClustering`
HierarchicalClustering`

DistanceMatrix

As of Version 10.3, DistanceMatrix is built into the Wolfram System.

DistanceMatrix[list]

gives a matrix of distances or dissimilarities between the elements of list.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

Distance matrix for a list of numbers:

Options  (1)

DistanceFunction  (1)

Distance matrix using ManhattanDistance:

Wolfram Research (2007),DistanceMatrix,Wolfram 语言函数,https://reference.wolfram.com/language/HierarchicalClustering/ref/DistanceMatrix.html.

文本

Wolfram Research (2007),DistanceMatrix,Wolfram 语言函数,https://reference.wolfram.com/language/HierarchicalClustering/ref/DistanceMatrix.html.

CMS

Wolfram 语言. 2007. "DistanceMatrix." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/HierarchicalClustering/ref/DistanceMatrix.html.

APA

Wolfram 语言. (2007). DistanceMatrix. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/HierarchicalClustering/ref/DistanceMatrix.html 年

BibTeX

@misc{reference.wolfram_2024_distancematrix, author="Wolfram Research", title="{DistanceMatrix}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HierarchicalClustering/ref/DistanceMatrix.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_distancematrix, organization={Wolfram Research}, title={DistanceMatrix}, year={2007}, url={https://reference.wolfram.com/language/HierarchicalClustering/ref/DistanceMatrix.html}, note=[Accessed: 22-November-2024 ]}