convhull_halfspace: Compute convex hull in half-space form

View source: R/calculate_convex_hull_moment_matrix.R

convhull_halfspaceR Documentation

Compute convex hull in half-space form

Description

Compute convex hull in half-space form

Usage

convhull_halfspace(points)

Arguments

points

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

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


skpr documentation built on Nov. 5, 2025, 6:03 p.m.