[petsc-users] No Matlab for complex numbers?

Jed Brown jedbrown at mcs.anl.gov
Sat Feb 16 08:53:18 CST 2013


MATLAB stores complex numbers in two separate arrays rather than in normal
C and Fortran format as one array with struct {double real, imag;}. Thus
the interface would need to make a lot of copies and require a significant
amount of work to write. We would accept patches if someone wants to
implement this in a maintainable way.


On Sat, Feb 16, 2013 at 2:42 AM, Hui Zhang <mike.hui.zhang at hotmail.com>wrote:

> When I configure --with-matlab=1, I got
>
> Cannot use Matlab with complex numbers it is not coded for this capability
>
> Why not supporting this capability?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130216/d70ac886/attachment.html>


More information about the petsc-users mailing list