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>.