Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

Simplex

Simplex[{p1,,pk}]
represents the simplex spanned by points .

Details and OptionsDetails and Options

• Simplex is also known as point, line segment, triangle, tetrahedron, pentachoron, hexateron, etc.
• Simplex can be used as a geometric region and graphics primitive.
• Simplex[n] for integer n is equivalent to Simplex[{{0,,0},{1,0,,0},,{0,,0,1}}], the unit standard simplex in .
• Example simplices where rows correspond to embedding dimension:
• Simplex represents all convex combinations of the given points . The region is dimensional when are affinely independent and .
• Simplex can be used in Graphics and Graphics3D.
• In graphics, the points can be Scaled and Dynamic expressions.
• Graphics rendering is affected by directives such as FaceForm, EdgeForm, Opacity, and color.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

A Simplex in 3D:

 In[13]:=
 Out[13]=

And in 2D:

 In[3]:=
 Out[3]=

Different styles applied to a simplex:

 In[1]:=
 In[2]:=
 Out[2]=

Volume and centroid:

 In[1]:=
 In[2]:=
 Out[2]=
 In[3]:=
 Out[3]=