gemseo / core / mdofunctions

Show inherited members

concatenate module

A function evaluating other functions and concatenating their outputs.

class gemseo.core.mdofunctions.concatenate.Concatenate(functions, name, f_type=None)[source]

Bases: MDOFunction

Wrap the concatenation of a set of functions.

Initialize self. See help(type(self)) for accurate signature.

  • functions (Iterable[MDOFunction]) – The functions to be concatenated.

  • name (str) – The name of the concatenation function.

  • f_type (str | None) – The type of the concatenation function. If None, the function will have no type.

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.