vol_splx {caRamel} | R Documentation |
calculates the volume of a simplex
vol_splx(S)
S |
: matrix (d+1) rows * d columns containing the coordinates in d-dim of d + 1 vertices of a simplex |
V : simplex volume
Fabrice Zaoui
# Definition of the parameters
S <- matrix(rexp(6), 3, 2)
# Call the function
res <- vol_splx(S)