B
brekehan
Anyone know an easy way to compare to boost matrices using the same
template argument for equality?
boost::numeric::ublas::matrix<double> a(2, 2);
boost::numeric::ublas::matrix<double> b(4, 4);
if( a != b )
{
// not equal
}
Does not seem to work, as the != operator is not defined.
template argument for equality?
boost::numeric::ublas::matrix<double> a(2, 2);
boost::numeric::ublas::matrix<double> b(4, 4);
if( a != b )
{
// not equal
}
Does not seem to work, as the != operator is not defined.