CantorMesh

CantorMesh[n]

gives a mesh region representing the n^(th)-step Cantor set.

CantorMesh[n,d]

gives the n^(th)-step Cantor set in dimension d.

Details and Options

Examples

open allclose all

Basic Examples  (2)

A 1D Cantor mesh:

In[1]:=
Click for copyable input
Out[1]=

Lengths of the approximations to the Cantor mesh:

In[2]:=
Click for copyable input
Out[2]=

The formula:

In[3]:=
Click for copyable input
Out[3]=

A 2D Cantor mesh:

In[1]:=
Click for copyable input
Out[1]=

A 3D Cantor mesh:

In[2]:=
Click for copyable input
Out[2]=

Scope  (4)

Options  (13)

Applications  (4)

Properties & Relations  (4)

Possible Issues  (1)

See Also

CantorStaircase  SierpinskiMesh  ArrayMesh  MeshRegion  BoundaryMeshRegion  KaryTree

Introduced in 2017
(11.1)