ezyrb.reducedordermodel.ReducedOrderModel._simplex_volume

ReducedOrderModel._simplex_volume(vertices)[source]

Method implementing the computation of the volume of a N dimensional simplex. Source from: wikipedia.org/wiki/Simplex.

Parameters:

simplex_vertices (numpy.ndarray) – Nx3 array containing the parameter values representing the vertices of a simplex. N is the dimensionality of the parameters.

Returns:

N dimensional volume of the simplex.

Return type:

float