/usr/include/openturns/swig/HaselgroveSequence_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 | %feature("docstring") OT::HaselgroveSequence
"Haselgrove sequence.
Available constructors:
HaselgroveSequence(*dimension=1*)
HaselgroveSequence(*base*)
Parameters
----------
dimension : positive int
Dimension of the points.
base : sequence of positive float
Sequence of positive real values linearly independent over the integer
ring, i.e. no linear combination with integer coefficients of these values
can be zero excepted if all the coefficients are zero. The dimension of the
sequence is given by the dimension of the base.
Examples
--------
>>> import openturns as ot
>>> sequence = ot.HaselgroveSequence(2)
>>> print(sequence.generate(5))
0 : [ 0.414214 0.732051 ]
1 : [ 0.828427 0.464102 ]
2 : [ 0.242641 0.196152 ]
3 : [ 0.656854 0.928203 ]
4 : [ 0.0710678 0.660254 ]"
|