/usr/include/openturns/swig/Composite_doc.i is in libopenturns-dev 1.7-3.
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | %feature("docstring") OT::Composite
"Composite design of experiments.
Available constructor:
Composite(*center, levels*)
Composite(*dimension, levels*)
Parameters
----------
center : sequence of float
Center of the design of experiments. If not specified, the design of
experiments is centered on :math:`\\\\vect{0} \\\\in \\\\Rset^n`.
levels : sequence of float of dimension :math:`n_{level}`
The discretisation of directions (the same for each one), without any
consideration of unit.
dimension : positive int
Dimension :math:`n` of the space where the design of experiments is created.
Notes
-----
Composite is a stratified design of experiments enabling to create a pattern
as the union of an :class:`~openturns.Axial` pattern and a
:class:`~openturns.Factorial` one. The number of points generated is
:math:`1 + n_{level}(2n+2^n)`.
In order to scale each direction and translate the grid structure onto the
proper center, use the operator :math:`*=` and :math:`+=` of
:class:`~openturns.NumericalSample`.
See also
--------
StratifiedExperiment
Examples
--------
>>> import openturns as ot
>>> levels = [4., 2., 7.]
>>> myCenteredReductedGrid = ot.Composite(2, levels)
>>> mySample = myCenteredReductedGrid.generate()
>>> # Translate the grid
>>> mySample+=4
>>> # Scale each direction
>>> mySample*=2"
|