Referencing elements in a reshape expression
Alberto Luaces
aluaces@udc.es
Mon Feb 10 08:43:00 GMT 2014
(Dominique Dhumieres) writes:
> Referencing elements of an array returned by an expressions
> is not allowed in Fortran.
>
I see.
>
> Notes that computing the full matrix product for using three
> elements only is not very efficient. In addition the matrix
> product of small matrices is quite slow with gfortran which
> calls a procedure. It is more than an order of magnitude faster
> to use dot products instead (in your case you need only three of
> them).
Thank you for the hint, Dominique.
By the way, sorry for mistankenly sending this message to the gfortran
list.
Regards,
--
Alberto
More information about the Fortran
mailing list