volume_tetrahedron | R Documentation |

Volume of a tetrahedron (dimension 3).

```
volume_tetrahedron(v1, v2, v3, v4)
```

`v1, v2, v3, v4` |
vertices of the tetrahedron |

The volume of the tetrahedron.

`volume_simplex`

for the volume of a simplex in
arbitrary dimension.

```
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)
```

uniformly documentation built on July 26, 2023, 6:06 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.