opPow, opDollar

Don nospam at nospam.com
Sat Nov 7 11:49:58 PST 2009


Mo Chen wrote:
> Suppose we have a matrix library, I'd like to have two product 
> operators, one is for matrix product, the other is for element wise 
> product, just like what we do in matlab (A*B and A.*B). I'd like to save 
> ** to that scenario. Btw I'm no Fortran user. ^^ is fine by me.

The D forms are A*B for matrix product,  A[]*B[] for element-wise product.
<g>.



More information about the Digitalmars-d mailing list