Ticket #26 (closed defect: worksforme)

Opened 12 years ago

Last modified 12 years ago

libBlitzHDF5 doesn't support complex Arrays

Reported by: tschmidt Owned by: somebody
Priority: minor Milestone:
Component: libBlitzHDF5 Version:
Keywords: Cc:


The current Data Conversion routines do not support complex Arrays. This should be added when some time is left.


testcase_BlitzHDF5_complex.cc Download (3.1 KB) - added by streiche 12 years ago.
More tests for 1D,2D,3D,4D with std::complex<float>

Change History

Changed 12 years ago by streiche

More tests for 1D,2D,3D,4D with std::complex<float>

Changed 12 years ago by streiche

  • status changed from new to closed
  • type changed from task to defect
  • resolution set to worksforme

Added support for blitz::Array<std::complex<float, N>

But problem still not fixed completely, since the datatype written must be exactly the same when being read.

This works:

blitz::Array<std::complex<float>, 1> IN(2); WRITE_TO_HDF5_FILE blitz::Array<std::complex<float>, 1> OUT; READ_FROM_HDF5_FILE

This doesn't work:

blitz::Array<std::complex<float>, 1> IN(2); WRITE_TO_HDF5_FILE blitz::Array<std::complex<int>, 1> OUT; READ_FROM_HDF5_FILE

Note: See TracTickets for help on using tickets.