harmmean is a convexity aware operator for harmonic mean


y = harmmean(x)


The operator behaves like the built-in harmmean command.

The operator is implemented using a graph representation based on SOCP, and can thus only be used in scenarios where YALMIP can propagate convexity and use conic graph representations.