3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 14:23:38 +01:00
dft_tools/doc/reference/arrays/h5_complex.rst
tayral edd1ff4529 Restructuring documentation.
A first general restructuration of the doc according to the pattern [tour|tutorial|reference].
In the reference part, objects are documented per topic.
In each topic, [definition|c++|python|hdf5] (not yet implemented)
2014-10-18 12:21:08 +01:00

16 lines
554 B
ReStructuredText

.. highlight:: c
Issue with the complex numbers
============================================================================
There is no standard representation of the complex numbers `std::complex<T>` in hdf5.
The classes therefore represent them as arrays of `T` with one more dimension, and
adding a tag *_complex_* to the array for identification when rereading.
* This is compatible with the ALPS 2.0 storage.
* This is **not** compatible with the regular h5py storage for complex.
The conversion is made by HDFArchive class automatically.