Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

HarmonicMean

The HarmonicMean atom.


Description

The harmonic mean of x, \frac{1}{n} ∑_{i=1}^n x_i^{-1}, where n is the length of x.

Usage

HarmonicMean(x)

Arguments

x

An expression or number whose harmonic mean is to be computed. Must have positive entries.

Value

The harmonic mean of x.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.