Mercurial > pytave
diff ChangeLog @ 46:095e26d93935
support complex numbers
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 26 May 2009 11:41:26 +0200 |
parents | 3eb653452a38 |
children | 5867e925d0dd |
line wrap: on
line diff
--- a/ChangeLog Tue May 26 08:51:39 2009 +0200 +++ b/ChangeLog Tue May 26 11:41:26 2009 +0200 @@ -1,3 +1,15 @@ +2009-05-26 Jaroslav Hajek <highegg@gmail.com> + + * octave_to_python.cc (octvalue_to_pyarrobj): Support Complex + and FloatComplex values. + (octvalue_to_pyobj): Support complex scalars. + * python_to_octave.cc (copy_pyarrobj_to_octarray_dispatch): + New template function. + (matching_type): New helper traits class. + (copy_pyarrobj_to_octarray_dispatch): Support complex types. + (pyarrobj_to_octvalue): Support complex scalars. + * test/test.py: Add tests for complex values. + 2009-05-26 Jaroslav Hajek <highegg@gmail.com> * octave_to_python.cc: New #include (boost/type_traits).