I was sure I already had an issue for this, but I can't find it!
It would be nice to have operators to do element-wise multiplication of vectors and matrices (and other ordered collection types?)
MATLAB puts a dot before the symbols to mark the operation as element-wise, e.g. A .* B computes the matrix with elements a_ij * b_ij. I'd like to follow this convention, but I don't know if that would cause any problems with the existing syntax.
I was sure I already had an issue for this, but I can't find it!
It would be nice to have operators to do element-wise multiplication of vectors and matrices (and other ordered collection types?)
MATLAB puts a dot before the symbols to mark the operation as element-wise, e.g.
A .* B
computes the matrix with elementsa_ij * b_ij
. I'd like to follow this convention, but I don't know if that would cause any problems with the existing syntax.