Skip to contents

Harmonic mean: n / sum(1/x_i)

Usage

harmonic_mean(x)

Arguments

x

An Expression (must be positive for DCP)

Value

An Expression representing the harmonic mean