CHECK_DIFF_FLT 357 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi2 * mt, d2 ); CHECK_DIFF_FLT 358 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi * mt, d1 ); CHECK_DIFF_FLT 359 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mt_tr * mi_tr, d1 ); CHECK_DIFF_FLT 361 modules/core/test/test_operations.cpp m = mi.clone(); m*=mt; CHECK_DIFF_FLT(m, d1); CHECK_DIFF_FLT 362 modules/core/test/test_operations.cpp m = mi.clone(); m*= (2 * mt - mt) ; CHECK_DIFF_FLT(m, d1); CHECK_DIFF_FLT 370 modules/core/test/test_operations.cpp m = mi.clone(); m+=(3.0 * mi * mt + d1); CHECK_DIFF_FLT(m, mi + d1 * 4); CHECK_DIFF_FLT 371 modules/core/test/test_operations.cpp m = mi.clone(); m-=(3.0 * mi * mt + d1); CHECK_DIFF_FLT(m, mi - d1 * 4); CHECK_DIFF_FLT 372 modules/core/test/test_operations.cpp m = mi.clone(); m*=(mt * 1.0); CHECK_DIFF_FLT(m, d1); CHECK_DIFF_FLT 373 modules/core/test/test_operations.cpp m = mi.clone(); m*=(mt * 1.0 + Mat::eye(m.size(), m.type())); CHECK_DIFF_FLT(m, d1 + mi); CHECK_DIFF_FLT 374 modules/core/test/test_operations.cpp m = mi.clone(); m*=mt_tr.t(); CHECK_DIFF_FLT(m, d1); CHECK_DIFF_FLT 376 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * 2) * mt, d2); CHECK_DIFF_FLT 377 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi * (2 * mt), d2); CHECK_DIFF_FLT 378 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mt.t() * mi_tr, d1 ); CHECK_DIFF_FLT 379 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mt_tr * mi.t(), d1 ); CHECK_DIFF_FLT 380 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * 0.4) * (mt * 5), d2); CHECK_DIFF_FLT 382 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mt.t() * (mi_tr * 2), d2 ); CHECK_DIFF_FLT 383 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mt_tr * 2) * mi.t(), d2 ); CHECK_DIFF_FLT 385 modules/core/test/test_operations.cpp CHECK_DIFF_FLT(mt.t() * mi.t(), d1); CHECK_DIFF_FLT 386 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) * 2.0, d2); CHECK_DIFF_FLT 387 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( 2.0 * (mi * mt), d2); CHECK_DIFF_FLT 388 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( -(mi * mt), -d1); CHECK_DIFF_FLT 390 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) / 2.0, d1 / 2); CHECK_DIFF_FLT 399 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mt * 2.0 + 1.0) * mi.t(), mt_mul_2_plus_1 * mi_tr); // (A*alpha + beta)*B^t CHECK_DIFF_FLT 400 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi.t() * (mt * 2.0 + 1.0), mi_tr * mt_mul_2_plus_1); // A^t*(B*alpha + beta) CHECK_DIFF_FLT 402 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt + d2)*5, d1 * 3 * 5); CHECK_DIFF_FLT 403 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi * mt + d2, d1 * 3); CHECK_DIFF_FLT 404 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( -(mi * mt) + d2, d1); CHECK_DIFF_FLT 405 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) + d1, d2); CHECK_DIFF_FLT 406 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( d1 + (mi * mt), d2); CHECK_DIFF_FLT 407 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) - d2, -d1); CHECK_DIFF_FLT 408 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( d2 - (mi * mt), d1); CHECK_DIFF_FLT 410 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) + d2 * 0.5, d2); CHECK_DIFF_FLT 411 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( d2 * 0.5 + (mi * mt), d2); CHECK_DIFF_FLT 412 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) - d1 * 2, -d1); CHECK_DIFF_FLT 413 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( d1 * 2 - (mi * mt), d1); CHECK_DIFF_FLT 415 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) + mi.t(), mi_tr + d1); CHECK_DIFF_FLT 416 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi.t() + (mi * mt), mi_tr + d1); CHECK_DIFF_FLT 417 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( (mi * mt) - mi.t(), d1 - mi_tr); CHECK_DIFF_FLT 418 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi.t() - (mi * mt), mi_tr - d1); CHECK_DIFF_FLT 420 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( 2.0 *(mi * mt + d2), d1 * 6); CHECK_DIFF_FLT 421 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( -(mi * mt + d2), d1 * -3); CHECK_DIFF_FLT 423 modules/core/test/test_operations.cpp CHECK_DIFF_FLT(mt.inv() * mt, d1); CHECK_DIFF_FLT 425 modules/core/test/test_operations.cpp CHECK_DIFF_FLT(mt.inv() * (2*mt - mt), d1); CHECK_DIFF_FLT 733 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi2 * mt, d2 ); CHECK_DIFF_FLT 734 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mi * mt, d1 ); CHECK_DIFF_FLT 735 modules/core/test/test_operations.cpp CHECK_DIFF_FLT( mt_tr * mi_tr, d1 ); CHECK_DIFF_FLT 738 modules/core/test/test_operations.cpp mf = mi.clone(); mf*=mt; CHECK_DIFF_FLT(mf, d1);