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 SCS or ECOS are used and the exponential cone description is exploited in a graph representation.

Leave a Comment