[Prev][Next][Index][Thread]
Re: performance for scientific computing
Gabor Greif <ggreif@lucent.com> writes:
> > compute
> > C = A*A+cos(A) (to understand as C(i,j,k) = A(i,j,k)*A(i,j,k) +
> > cos(A(i,j,k)))
>
> It is not recommended to add methods to the generic functions \+ and \* as
> defined in the dylan library, although it is possible on user defined types.
> However you could define your array lib to exclude (or rename) them from the
> dylan lib and define your own. This would allow the above idiomatic style.
The matrix library of Gwydion Dylan provides some of these operations.
Andreas
--
"In my eyes it is never a crime to steal knowledge. It is a good
theft. The pirate of knowledge is a good pirate."
(Michel Serres)
References: