Matlab Implementation

As in the case of Fortran, one must redefine functions such as abs(), max() and min(). All differentiable functions are defined for complex variables. The correct definitions for these functions can be found in the complexify.f90 module.

The standard transpose operation represented by an apostrophe (‘) poses a problem as it takes the complex conjugate of the elements of the matrix, so one should use the non-conjugate transpose represented by “dot apostrophe’’ (.’) instead.