# picos.expressions.exp_logarithm¶

Implements `Logarithm`.

Classes

class picos.expressions.exp_logarithm.Logarithm(x)[source]

Logarithm of a scalar affine expression.

Definition

For a real scalar affine expression , this is .

Warning

When you pose a lower bound on a logarithm , then PICOS enforces through an auxiliary constraint during solution search.

__add__(other)[source]

Denote addition with another expression on the right-hand side.

__ge__(other)[source]

Return a constraint that the expression is lower-bounded.

__init__(x)[source]

Construct a `Logarithm`.

Parameters

x (AffineExpression) – The scalar affine expression .

__mul__(other)[source]

Denote multiplication with another expression on the right.

__radd__(other)[source]

Denote addition with another expression on the left-hand side.

__rmul__(other)[source]

Denote multiplication with another expression on the left.

__sub__(other)[source]

Denote subtraction of another expression from the expression.

property exp

The exponential of the logarithm, equal to .

property x

The expression .