Hi everyone, Happy Thanksgiving to all the Americans!
I am having trouble providing operator* for TinyMatrix as below (managed
the + and - ok), especially as I want it for non-square (but compatible)
matrices, eg [2_rows,5_cols]*[5_rows,3_cols]. Also I am wondering about
(double)*[TinyMatrix].
namespace blitz {
template <typename T_numtype, int N_rows, int
N_cols>
TinyMatrix<T_numtype,N_rows,N_cols>
operator+(TinyMatrix<T_numtype,N_rows,N_cols>
a,
TinyMatrix<T_numtype,N_rows,N_cols>& b)
{
??????????????
}}
Im sure there is a way to do this, I would appreciate an example :-)
Thanks,
Ben McLean.
(Australian, but I LOVE thanksgiving with my USA friends
:-)