ChessboardDistance[u,v]
ベクトル u とベクトル v の間のチェス盤距離,チェビシェフ(Chebyshev)距離,あるいは上限ノルム距離を与える.
ChessboardDistance
ChessboardDistance[u,v]
ベクトル u とベクトル v の間のチェス盤距離,チェビシェフ(Chebyshev)距離,あるいは上限ノルム距離を与える.
詳細
- チェスボード距離は,すべての次元における差の最大値に実質的に等しい.
- ChessboardDistance[u,v]はMax[Abs[u-v]]に等しい. »
例題
すべて開く すべて閉じる例 (2)
スコープ (2)
アプリケーション (1)
特性と関係 (5)
ChessboardDistance[{a, b, c}, {x, y, z}]Max[Abs[{a, b, c} - {x, y, z}]]d1 = ChessboardDistance[{a, b}, {a, c}]d2 = ChessboardDistance[{a, c}, {d, c}]d3 = ChessboardDistance[{a, b}, {d, c}]Simplify[d3 <= d1 + d2]ChessboardDistanceは差分のNormに等しい:
ChessboardDistance[{a, b, c}, {x, y, z}]Norm[{a, b, c} - {x, y, z}, Infinity]ChessboardDistanceはManhattanDistance以下である:
u = {a, b, c};
v = {x, y, z};Simplify[ChessboardDistance[u, v] ≤ ManhattanDistance[u, v]]ChessboardDistanceはEuclideanDistance以下である:
u = {a, b, c};
v = {x, y, z};Simplify[ChessboardDistance[u, v] ≤ EuclideanDistance[u, v]]テクニカルノート
関連するガイド
テキスト
Wolfram Research (2007), ChessboardDistance, Wolfram言語関数, https://reference.wolfram.com/language/ref/ChessboardDistance.html.
CMS
Wolfram Language. 2007. "ChessboardDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChessboardDistance.html.
APA
Wolfram Language. (2007). ChessboardDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChessboardDistance.html
BibTeX
@misc{reference.wolfram_2026_chessboarddistance, author="Wolfram Research", title="{ChessboardDistance}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ChessboardDistance.html}", note=[Accessed: 19-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_chessboarddistance, organization={Wolfram Research}, title={ChessboardDistance}, year={2007}, url={https://reference.wolfram.com/language/ref/ChessboardDistance.html}, note=[Accessed: 19-August-2026]}