Boost LA

operator*(matrix,matrix)

#include <boost/la/matrix_mul_matrix.hpp>

#include <boost/la/deduce_matrix.hpp>

namespace
boost
    {
    namespace
    la
        {
        //Only enabled if:
        //  is_matrix<A>::value && is_matrix<B>::value &&
        //  matrix_traits<A>::cols==matrix_traits<B>::rows
        template <class A,class B>
        typename deduce_matrix2<A,B,matrix_traits<A>::rows,matrix_traits<B>::cols>::type
        operator*( A const & a, B const & b );
        }
    }

Returns:

The result of multiplying the matrices a and b.

Required access:

result:iw, a:ir, b:ir.