inv_prod: Reciprocal of product of entries

View source: R/086_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 March 6, 2026, 9:10 a.m.