if(diff_L1>eps_vec){std::cout<<"Checking orthogonality of matrix "<<U<<"..."<<endl;CV_Error(CORE_EIGEN_ERROR_ORTHO,"Matrix of eigen vectors is not orthogonal.");returnfalse;}
{
if(diff_L2>eps_vec){std::cout<<"Checking orthogonality of matrix "<<U<<"..."<<endl;CV_Error(CORE_EIGEN_ERROR_ORTHO,"Matrix of eigen vectors is not orthogonal.");returnfalse;}
std::cout<<endl;std::cout<<"Checking orthogonality of matrix "<<U<<": ";
if(diff_INF>eps_vec){std::cout<<"Checking orthogonality of matrix "<<U<<"..."<<endl;CV_Error(CORE_EIGEN_ERROR_ORTHO,"Matrix of eigen vectors is not orthogonal.");returnfalse;}
if(diff_L1>eps_vec){std::cout<<"Checking accuracy of eigen vectors computing for matrix "<<src<<": L1-criteria..."<<endl;CV_Error(CORE_EIGEN_ERROR_DIFF,"Accuracy of eigen vectors computing less than required.");returnfalse;}
{
if(diff_L2>eps_vec){std::cout<<"Checking accuracy of eigen vectors computing for matrix "<<src<<": L2-criteria..."<<endl;CV_Error(CORE_EIGEN_ERROR_DIFF,"Accuracy of eigen vectors computing less than required.");returnfalse;}
std::cout<<endl;std::cout<<"Checking accuracy of eigen vectors computing for matrix "<<src<<": ";
if(diff_INF>eps_vec){std::cout<<"Checking accuracy of eigen vectors computing for matrix "<<src<<": INF-criteria..."<<endl;CV_Error(CORE_EIGEN_ERROR_DIFF,"Accuracy of eigen vectors computing less than required.");returnfalse;}
if(diff_L1>eps_val){std::cout<<"Checking accuracy of eigen values computing for matrix "<<src<<": L1-criteria..."<<endl;CV_Error(CORE_EIGEN_ERROR_DIFF,"Accuracy of eigen values computing less than required.");returnfalse;}
{
if(diff_L2>eps_val){std::cout<<"Checking accuracy of eigen values computing for matrix "<<src<<": L2-criteria..."<<endl;CV_Error(CORE_EIGEN_ERROR_DIFF,"Accuracy of eigen vectors computing less than required.");returnfalse;}
std::cout<<endl;std::cout<<"Checking accuracy of eigen values computing for matrix "<<src<<": ";
if(diff_INF>eps_val){std::cout<<"Checking accuracy of eigen values computing for matrix "<<src<<": INF-criteria..."<<endl;CV_Error(CORE_EIGEN_ERROR_DIFF,"Accuracy of eigen vectors computing less than required.");returnfalse;}