CantorMesh[n]
カントール(Cantor)集合のステップ n を表すメッシュ領域を与える.
CantorMesh[n,d]
次元 d のカントール集合のステップ n を与える.
CantorMesh
CantorMesh[n]
カントール(Cantor)集合のステップ n を表すメッシュ領域を与える.
CantorMesh[n,d]
次元 d のカントール集合のステップ n を与える.
詳細とオプション
- CantorMeshは,カントールダストとしても知られている.
- CantorMesh[n]は,三等分したセルの中央部分を繰り返し取り除いて,単位区間から生成する. »
- CantorMesh[n]はCantorMesh[n,1]に等しい.
- CantorMeshにはMeshRegionと同じオプションに次を加えたものが使える.
-
DataRange Automatic 生成するメッシュ座標範囲
例題
すべて開く すべて閉じる例 (2)
CantorMesh[2]Table[RegionMeasure[CantorMesh[n]], {n, 5}]//RationalizeFindSequenceFunction[%, n]CantorMesh[1, 2]CantorMesh[1, 3]スコープ (4)
オプション (13)
DataRange (1)
DataRangeを使うと生成するメッシュ座標の範囲を指定することができる:
CantorMesh[1, 2]RegionBounds[%]CantorMesh[1, 2, DataRange -> {{0, 1}, {0, 2}}]RegionBounds[%]MeshCellHighlight (2)
MeshCellHighlightを使ってCantorMeshの部分的なハイライトを指定することができる:
CantorMesh[0, 2, MeshCellHighlight -> {{1, All} -> Red, {0, All} -> Black}]CantorMesh[0, 2, MeshCellHighlight -> {{1, 2} -> {Thick, Red}, {1, 3} -> {Dashed, Black}}]CantorMesh[0, 2, MeshCellHighlight -> {Line[{3, 4}] -> {Thick, Red}, Line[{2, 4}] -> {Dashed, Black}}]MeshCellLabel (2)
MeshCellLabelを使ってCantorMeshに部分的にラベルを付けることができる:
CantorMesh[0, 2, MeshCellLabel -> {0 -> "Index"}]CantorMesh[0, 2, MeshCellLabel -> {{1, 1} -> "x", {1, 2} -> "y"}]CantorMesh[0, 2, MeshCellLabel -> {Line[{1, 3}] -> "x", Line[{3, 4}] -> "y"}]MeshCellMarker (1)
MeshCellMarkerを使ってCantorMeshに部分的に値を割り当てることができる:
CantorMesh[0, 2, MeshCellMarker -> {{0, 1} -> 1, {0, 2} -> 2, {0, 3} -> 3, {0, 4} -> 4}]MeshCellLabelを使ってマーカーを表示する:
CantorMesh[0, 2, MeshCellMarker -> {{0, 1} -> 1, {0, 2} -> 2, {0, 3} -> 3, {0, 4} -> 4}, MeshCellLabel -> {0 -> "Marker"}]MeshCellShapeFunction (2)
MeshCellShapeFunctionを使ってCantorMeshに部分的に値を割り当てることができる:
CantorMesh[0, 3, MeshCellShapeFunction -> {1 -> (Tube[#1, .1]&)}]CantorMesh[0, 3, MeshCellShapeFunction -> {{1, 2} -> (Tube[#1, .1]&)}]CantorMesh[0, 3, MeshCellShapeFunction -> {Line[{5, 7}] -> (Tube[#1, .1]&)}]MeshCellStyle (3)
MeshCellStyleを使ってCantorMeshの部分的なスタイルを指定することができる:
CantorMesh[0, 2, MeshCellStyle -> {{1, All} -> Red, {0, All} -> Black}]CantorMesh[0, 2, MeshCellStyle -> {{1, 1} -> {Thick, Red}, {1, 2} -> {Dashed, Black}}]CantorMesh[0, 2, MeshCellStyle -> {Line[{1, 3}] -> {Thick, Red}, Line[{3, 4}] -> {Dashed, Black}}]CantorMesh[1, 2, MeshCellStyle -> {{2, All} -> Black, {2, 1} -> Red, {2, {2, 3}} -> Pink}]アプリケーション (4)
カントール集合は,単位区間から,三等分したセルの中央部分を繰り返し削除することで生成される:
Column[{CantorMesh[0], CantorMesh[1], CantorMesh[2], CantorMesh[3]}]Row[{CantorMesh[0, 2], CantorMesh[1, 2], CantorMesh[2, 2]}, Spacer[60]]Row[{CantorMesh[0, 3], CantorMesh[1, 3], CantorMesh[2, 3]}, Spacer[60]]Table[RegionMeasure[CantorMesh[k]], {k, 5}]//RationalizeFindSequenceFunction[%, n]Table[RegionMeasure[CantorMesh[k, 2]], {k, 5}]//RationalizeFindSequenceFunction[%, n]Table[{k, RegionMeasure[CantorMesh[k, 3]]}, {k, 0, 3}]//RationalizeFindSequenceFunction[%, n]特性と関係 (4)
CantorMeshの出力は,常に全次元のMeshRegionである:
CantorMesh[3, 2]{MeshRegionQ[%], RegionDimension[%]}1Dでは,CantorMeshは区間からなる:
CantorMesh[2]MeshCells[%, RegionDimension[%]]CantorMesh[1, 2]MeshCells[%, RegionDimension[%]]CantorMesh[0, 3]MeshCells[%, RegionDimension[%]]Table[RegionMeasure[CantorMesh[n]] / 2, {n, 5}]//RationalizeFindSequenceFunction[%, i]Limit[Sum[%, {i, 1, n}], n -> Infinity]DataRange->range はRescalingTransform[{…},range]を使うことに等しい:
CantorMesh[1, 2, DataRange -> {{1, 2}, {1, 3}}, Frame -> True]box = TransformedRegion[CantorMesh[1, 2], RescalingTransform[{{0, 1}, {0, 1}}, {{1, 2}, {1, 3}}]];MeshRegion[box, Frame -> True]考えられる問題 (1)
関連するガイド
テキスト
Wolfram Research (2017), CantorMesh, Wolfram言語関数, https://reference.wolfram.com/language/ref/CantorMesh.html.
CMS
Wolfram Language. 2017. "CantorMesh." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CantorMesh.html.
APA
Wolfram Language. (2017). CantorMesh. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CantorMesh.html
BibTeX
@misc{reference.wolfram_2026_cantormesh, author="Wolfram Research", title="{CantorMesh}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/CantorMesh.html}", note=[Accessed: 12-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_cantormesh, organization={Wolfram Research}, title={CantorMesh}, year={2017}, url={https://reference.wolfram.com/language/ref/CantorMesh.html}, note=[Accessed: 12-August-2026]}