/usr/include/openturns/swig/AggregatedFunction_doc.i is in libopenturns-dev 1.9-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | %feature("docstring") OT::AggregatedFunction
"Aggregated function.
Available constructor:
AggregatedFunction(*functionCollection*)
The built function stacks all the outputs from each function in the list.
Parameters
----------
functionCollection : sequence of :class:`~openturns.Function`
Functions to aggregate.
Examples
--------
>>> import openturns as ot
>>> functions = list()
>>> functions.append(ot.SymbolicFunction(['x1', 'x2', 'x3'],
... ['x1^2 + x2', 'x1 + x2 + x3']))
>>> functions.append(ot.SymbolicFunction(['x1', 'x2', 'x3'],
... ['x1 + 2 * x2 + x3', 'x1 + x2 - x3']))
>>> myFunction = ot.AggregatedFunction(functions)
>>> print(myFunction([1.0, 2.0, 3.0]))
[3,6,8,0]"
|