powered by
Volume of a tetrahedron (dimension 3).
volume_tetrahedron(v1, v2, v3, v4)
The volume of the tetrahedron.
vertices of the tetrahedron
volume_simplex for the volume of a simplex in arbitrary dimension.
volume_simplex
v1 <- c(0,0,0); v2 <- c(1,0,0); v3 <- c(0,1,0); v4 <- c(0,0,1) volume_tetrahedron(v1, v2, v3, v4) volume_unitSimplex(3)
Run the code above in your browser using DataLab