entropy

entropy is defined as \( -\sum x_i\log(x_i) \).

Syntax

y = entropy(x)

Implementation

The operator operator is implemented using the callback framework, except when Mosek 9, SCS or ECOS are used and the exponential cone description is exploited in a graph representation.