Expression Functions

#.. autofunction:: poek.abs

poek.ceil(*args, **kwargs)

Overloaded function.

  1. ceil(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. ceil(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. ceil(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. ceil(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.floor(*args, **kwargs)

Overloaded function.

  1. floor(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. floor(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. floor(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. floor(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.exp(*args, **kwargs)

Overloaded function.

  1. exp(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. exp(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. exp(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. exp(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.log(*args, **kwargs)

Overloaded function.

  1. log(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. log(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. log(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. log(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.log10(*args, **kwargs)

Overloaded function.

  1. log10(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. log10(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. log10(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. log10(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.sqrt(*args, **kwargs)

Overloaded function.

  1. sqrt(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. sqrt(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. sqrt(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. sqrt(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.sin(*args, **kwargs)

Overloaded function.

  1. sin(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. sin(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. sin(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. sin(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.cos(*args, **kwargs)

Overloaded function.

  1. cos(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. cos(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. cos(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. cos(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.tan(*args, **kwargs)

Overloaded function.

  1. tan(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. tan(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. tan(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. tan(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.asin(*args, **kwargs)

Overloaded function.

  1. asin(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. asin(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. asin(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. asin(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.acos(*args, **kwargs)

Overloaded function.

  1. acos(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. acos(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. acos(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. acos(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.atan(*args, **kwargs)

Overloaded function.

  1. atan(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. atan(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. atan(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. atan(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.sinh(*args, **kwargs)

Overloaded function.

  1. sinh(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. sinh(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. sinh(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. sinh(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.cosh(*args, **kwargs)

Overloaded function.

  1. cosh(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. cosh(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. cosh(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. cosh(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.tanh(*args, **kwargs)

Overloaded function.

  1. tanh(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. tanh(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. tanh(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. tanh(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.asinh(*args, **kwargs)

Overloaded function.

  1. asinh(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. asinh(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. asinh(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. asinh(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.acosh(*args, **kwargs)

Overloaded function.

  1. acosh(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. acosh(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. acosh(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. acosh(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.atanh(*args, **kwargs)

Overloaded function.

  1. atanh(arg0: pycoek_pybind11.expression) -> pycoek_pybind11.expression

  2. atanh(arg0: pycoek_pybind11.variable_single) -> pycoek_pybind11.expression

  3. atanh(arg0: pycoek_pybind11.parameter_single) -> pycoek_pybind11.expression

  4. atanh(arg0: pycoek_pybind11.index) -> pycoek_pybind11.expression

poek.func.quicksum(args, start=0)[source]

A utility function to compute a sum of Poek expressions.

The behavior of quicksum() is similar to the builtin sum() function, but this function generates a more compact Poek expression.

Parameters:
  • args – A generator for terms in the sum.

  • start – A value that is initializes the sum. If this value is not a numeric constant, then the += operator is used to add terms to this object. Defaults to zero.

Returns:

The value of the sum, which may be a Poek expression object.

poek.func.prod(args)[source]

A utility function to compute the product of Poek expressions.

Parameters:

args – A generator for terms in the product.

Returns:

The value of the product, which may be a Poek expression object.

#.. autodata:: poek.NAN

#.. autodata:: poek.inf