Tests matrix exception
#include <stdio.h>
#include <stdlib.h>
#include <visp3/core/vpMatrix.h>
int main()
{
std::cout << "** test matrix exception during multiplication" << std::endl;
try {
M = M1 * M3;
std::cout << "Catch an exception: " << e << std::endl;
}
std::cout << "** test matrix exception during addition" << std::endl;
try {
M = M1 + M3;
std::cout << "Catch an exception: " << e << std::endl;
}
return 0;
}