Ping ** 0.5 patch, fortran] Inline matmul with conjugate complex numbers

Thomas Koenig tkoenig@netcologne.de
Thu May 21 19:13:00 GMT 2015


Hi Mikael,

> There is little that is specific to conjg (any elemental function would
> work roughly the same), but anyway, the patch is OK.

Conjg has the advantage that it is an extremely cheap function -
essentially zero cost.

For an arbitrary elemental function, we would have to think about
creating temporaries to make sure we only get n^2 and not n^3
evaluations of whatever function we use.

Thanks for the review!

Committed as rev. 223499.

Regards

	Thomas



More information about the Fortran mailing list