Expressions

class poek.expression

Bases: pybind11_object

__abs__(self: pycoek_pybind11.expression) pycoek_pybind11.expression
__add__(*args, **kwargs)

Overloaded function.

  1. __add__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __add__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __add__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __add__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __add__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __add__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__call__(self: pycoek_pybind11.expression, exception: bool = False) float
__eq__(*args, **kwargs)

Overloaded function.

  1. __eq__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> coek::Constraint

  2. __eq__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> coek::Constraint

  3. __eq__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> coek::Constraint

  4. __eq__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> coek::Constraint

  5. __eq__(self: pycoek_pybind11.expression, arg0: int) -> coek::Constraint

  6. __eq__(self: pycoek_pybind11.expression, arg0: float) -> coek::Constraint

__ge__(*args, **kwargs)

Overloaded function.

  1. __ge__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> coek::Constraint

  2. __ge__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> coek::Constraint

  3. __ge__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> coek::Constraint

  4. __ge__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> coek::Constraint

  5. __ge__(self: pycoek_pybind11.expression, arg0: int) -> coek::Constraint

  6. __ge__(self: pycoek_pybind11.expression, arg0: float) -> coek::Constraint

__gt__(*args, **kwargs)

Overloaded function.

  1. __gt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> coek::Constraint

  2. __gt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> coek::Constraint

  3. __gt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> coek::Constraint

  4. __gt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> coek::Constraint

  5. __gt__(self: pycoek_pybind11.expression, arg0: int) -> coek::Constraint

  6. __gt__(self: pycoek_pybind11.expression, arg0: float) -> coek::Constraint

__hash__ = None
__iadd__(*args, **kwargs)

Overloaded function.

  1. __iadd__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __iadd__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __iadd__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __iadd__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __iadd__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __iadd__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__imul__(*args, **kwargs)

Overloaded function.

  1. __imul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __imul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __imul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __imul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __imul__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __imul__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pycoek_pybind11.expression, arg0: float) -> None

  2. __init__(self: pycoek_pybind11.expression, arg0: int) -> None

  3. __init__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> None

  4. __init__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> None

  5. __init__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> None

__isub__(*args, **kwargs)

Overloaded function.

  1. __isub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __isub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __isub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __isub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __isub__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __isub__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__itruediv__(*args, **kwargs)

Overloaded function.

  1. __itruediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __itruediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __itruediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __itruediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __itruediv__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __itruediv__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__le__(*args, **kwargs)

Overloaded function.

  1. __le__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> coek::Constraint

  2. __le__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> coek::Constraint

  3. __le__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> coek::Constraint

  4. __le__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> coek::Constraint

  5. __le__(self: pycoek_pybind11.expression, arg0: int) -> coek::Constraint

  6. __le__(self: pycoek_pybind11.expression, arg0: float) -> coek::Constraint

__lt__(*args, **kwargs)

Overloaded function.

  1. __lt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> coek::Constraint

  2. __lt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> coek::Constraint

  3. __lt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> coek::Constraint

  4. __lt__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> coek::Constraint

  5. __lt__(self: pycoek_pybind11.expression, arg0: int) -> coek::Constraint

  6. __lt__(self: pycoek_pybind11.expression, arg0: float) -> coek::Constraint

__mul__(*args, **kwargs)

Overloaded function.

  1. __mul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __mul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __mul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __mul__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __mul__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __mul__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__neg__(self: pycoek_pybind11.expression) pycoek_pybind11.expression
__pos__(self: pycoek_pybind11.expression) pycoek_pybind11.expression
__pow__(*args, **kwargs)

Overloaded function.

  1. __pow__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __pow__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __pow__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __pow__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __pow__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __pow__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__radd__(*args, **kwargs)

Overloaded function.

  1. __radd__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  2. __radd__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__rmul__(*args, **kwargs)

Overloaded function.

  1. __rmul__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  2. __rmul__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__rpow__(*args, **kwargs)

Overloaded function.

  1. __rpow__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  2. __rpow__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__rsub__(*args, **kwargs)

Overloaded function.

  1. __rsub__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  2. __rsub__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__rtruediv__(*args, **kwargs)

Overloaded function.

  1. __rtruediv__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  2. __rtruediv__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__sub__(*args, **kwargs)

Overloaded function.

  1. __sub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __sub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __sub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __sub__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __sub__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __sub__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

__truediv__(*args, **kwargs)

Overloaded function.

  1. __truediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. __truediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. __truediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. __truediv__(self: pycoek_pybind11.expression, arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

  5. __truediv__(self: pycoek_pybind11.expression, arg0: int) -> pycoek_pybind11.expression

  6. __truediv__(self: pycoek_pybind11.expression, arg0: float) -> pycoek_pybind11.expression

expand(self: pycoek_pybind11.expression) pycoek_pybind11.expression
is_constraint(self: pycoek_pybind11.expression) bool
is_numeric_type(self: pycoek_pybind11.expression) bool
is_variable_type(self: pycoek_pybind11.expression) bool
to_list(self: pycoek_pybind11.expression) list