Learn R Programming

skpr (version 1.9.2)

convhull_halfspace: Compute convex hull in half-space form

Description

Compute convex hull in half-space form

Usage

convhull_halfspace(points)

Value

A list with elements:

  • A: a matrix of size m x d (m = number of facets)

  • b: a length-m vector so that x is inside the hull if and only if A %*% x + b >= 0 (for all rows).

  • volume: Total volume of the convex hull

Arguments

points

A matrix or data frame of numeric coordinates, size n x d