offset module¶
A function evaluating another one with an offset.
- class gemseo.core.mdofunctions.offset.Offset(value, mdo_function)[source]
Bases:
MDOFunction
Wrap an MDOFunction plus an offset value.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
value (NumberArray | Number) – The offset value.
mdo_function (MDOFunction) – The original MDOFunction object.
- force_real: bool
Whether to cast the results to real value.
- has_default_name: bool
Whether the name has been set with a default value.
- last_eval: OutputType | None
The value of the function output at the last evaluation.
None
if it has not yet been evaluated.
- special_repr: str
The string representation of the function overloading its default string ones.