Tests matrix exception
#include <stdlib.h>
#include <stdio.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;
}
}