2 .. currentmodule:: aubio
7 This section contains the documentation for :data:`float_type`,
8 :class:`fvec`, and :class:`cvec`.
10 .. defined in rst only
14 A string constant describing the floating-point representation used in
15 :class:`fvec`, :class:`cvec`, and elsewhere in this module.
17 Defaults to `"float32"`.
19 If `aubio` was built specifically with the option `--enable-double`, this
20 string will be defined to `"float64"`. See :ref:`py-doubleprecision` in
21 :ref:`python-install` for more details on building aubio in double
28 >>> numpy.zeros(10).dtype
30 >>> aubio.fvec(10).dtype
32 >>> np.arange(10, dtype=aubio.float_type).dtype
35 .. defined in `python/lib/aubio/__init__.py`
40 .. defined in `python/ext/py-cvec.h`