simplex(d)

keywords

simple, simplicial, truncation polytope

references

128, 90, 192

dim

d

n_vertices

d+1

n_facets

d+1

vertices


	row(1, (-1) x $d );



	for ($i=0; $i < $d ; $i++){
	    row (1, (-1) x $i, $d, (-1) x ($d-$i-1) );
	}

	returnmatrix();

facets

	
	row(1, (-1) x $d );


	for ($i=0; $i < $d ; $i++){
	    row (1, (0) x $i, 1, (0) x ($d-$i-1) );
	}

	returnmatrix();