/usr/include/openturns/swig/Axial_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 45 46 47 | %feature("docstring") OT::Axial
"Axial design of experiments.
Available constructor:
Axial(*center, levels*)
Axial(*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
-----
Axial is a stratified design of experiments enabling to generate a pattern with
points only along the axes. It is not convenient to model interactions between
variables. The axial pattern is obtained by discretizing each direction
according to specified levels, symmetrically with respect to the center of the
design of experiments.
The number of points generated is :math:`1 + 2 n_{level}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.Axial(2, levels)
>>> mySample = myCenteredReductedGrid.generate()
>>> # Translate the grid
>>> mySample+=4
>>> # Scale each direction
>>> mySample*=2"
|