inv_prod: Reciprocal of product of entries

View source: R/096_atoms_inv_prod.R

inv_prodR Documentation

Reciprocal of product of entries

Description

Computes the reciprocal of the product of entries. Equivalent to geo_mean(x)^(-n) where n is the number of entries.

Usage

inv_prod(x, approx = TRUE)

Arguments

x

An Expression or numeric value (must have positive entries).

approx

Logical; if TRUE (default), use SOC approximation.

Value

A convex Expression representing the reciprocal product.


CVXR documentation built on Oct. 19, 2026, 5:07 p.m.