DistanceFunction

DistanceFunction

Nearest等の関数のオプションで,指定された2点間に想定される距離の値を指定する.

詳細

  • DistanceFunction->f は,xy の間に想定される距離がf[x,y]であると指定する.

例題

  (2)

ChessboardDistanceを使って{5,5}に最も近い点を求める:

デフォルトの距離を使う:

DiceDissimilarityを使ってブールデータ中のクラスタを求める:

デフォルトの距離関数で求まったクラスタ:

Wolfram Research (2007), DistanceFunction, Wolfram言語関数, https://reference.wolfram.com/language/ref/DistanceFunction.html.

テキスト

Wolfram Research (2007), DistanceFunction, Wolfram言語関数, https://reference.wolfram.com/language/ref/DistanceFunction.html.

CMS

Wolfram Language. 2007. "DistanceFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DistanceFunction.html.

APA

Wolfram Language. (2007). DistanceFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DistanceFunction.html

BibTeX

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

BibLaTeX

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