vol_splx: Volume of a simplex

View source: R/vol_splx.R

vol_splxR Documentation

Volume of a simplex

Description

calculates the volume of a simplex

Usage

vol_splx(S)

Arguments

S

: matrix (d+1) rows * d columns containing the coordinates in d-dim of d + 1 vertices of a simplex

Value

V : simplex volume

Author(s)

Fabrice Zaoui

Examples

# Definition of the parameters
S <- matrix(rexp(6), 3, 2)
# Call the function
res <- vol_splx(S)


caRamel documentation built on Sept. 11, 2024, 7:01 p.m.