I am literally rookie to C++ and I'm trying to learn it in a professional way. I got familiar with the basic of defining operators in c++, but I think there are some restrictions, like you can only define operators with defined symbols. That is to say, for example, if I want to define vectorized multiply (like what is in MATLAB), it couldn't be possible. Does anyone know a way to define such operators?
A*B = returns a new matrix with new dimension compromised A and B A.*B = returns a new matrix, which all of its members are result of multiplication of A(i,j)*B(i,j)