/usr/include/openturns/swig/ComposedFunction_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 | %feature("docstring") OT::ComposedFunction
"Composed function.
Available constructor:
ComposedFunction(*f, g*)
The function is the composed function :math:`f\\\\circ g`.
Parameters
----------
f,g : two :class:`~openturns.Function`
The functions to compose.
Examples
--------
>>> import openturns as ot
>>> g = ot.SymbolicFunction(['x1', 'x2'],
... ['x1 + x2','3 * x1 * x2'])
>>> f = ot.SymbolicFunction(['x1', 'x2'], ['2 * x1 - x2'])
>>> composed = ot.ComposedFunction(f, g)
>>> print(composed([3, 4]))
[-22]"
|