Changeset 2571 in Sophya for trunk/SophyaProg/Tests


Ignore:
Timestamp:
Jul 28, 2004, 4:20:43 PM (21 years ago)
Author:
cmv
Message:

nettoyage code cmv 28/07/04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tsttminv.cc

    r2566 r2571  
    8585r_8  Check_Mat_VecCol_0(TMatrix< TYPE >& A);
    8686void  Check_Mat_VecCol_2(TMatrix< complex<TYPER> >& A);
    87 #if defined(USE_LAPACK)
    88 /*
    89 -- Pour faire ce test il faut passer la methode ilaenv_en_C()
    90    de LapackServer en methode "public" (dans intflapack.h)
    91    et recompiler la librairie externe sophya
    92 */
    93 // void TestIlaEnv(int_4 n);
    94 #endif
    9587
    9688
     
    178170if(symetok) cout<<"Input matrix has been symetrized "<<symetok<<endl;
    179171cout<<endl;
    180 
    181 //--------------------------------------------------------
    182 // TestIlaEnv(N); return -41;
    183 //--------------------------------------------------------
    184172
    185173//--------------------------------------------------------
     
    332320
    333321
    334 ////////////////////////////////////////////////
    335 ///////// Test avec Lapack LeastSquare /////////
    336 ////////////////////////////////////////////////
     322///////////////////////////////////////////////////////
     323///////// Test avec Lapack LeastSquare by SVD /////////
     324///////////////////////////////////////////////////////
    337325#if defined(USE_LAPACK) && defined(ALSO_LAPACK_INV_LSS_SVD)
    338326{
     
    506494if(nprline>0) {cout<<S; cout<<endl;}
    507495double smax = fabs(S(0)), smin = fabs(S(N-1));
    508 cout<<" Smin = |"<<S(N-1)<<"| = "<<smin<<", "
    509     <<" Smax = |"<<S(0)<<"| = "<<smax<<", "
    510     <<" --> Smin/Smax = "<<smin/smax<<endl;
     496 cout<<"CMV: "<<S(0)<<endl;
     497//cout<<" Smin = |"<<S(N-1)<<"| = "<<smin<<", "
     498//    <<" Smax = |"<<S(0)<<"| = "<<smax<<", "
     499//    <<" --> Smin/Smax = "<<smin/smax<<endl;
    511500//-- A = U*S*VT
    512501cout<<"Compute A = U*S*VT"<<endl;
     
    643632     <<", imag = "<<vmaxi<<", module = "<<vmaxn<<endl;
    644633}
    645 
    646 
    647 /*
    648 void TestIlaEnv(int_4 n)
    649 {
    650 LapackServer<TYPE> lps;
    651 cout<<"TestIlaEnv n="<<n<<endl;
    652 cout<<lps.ilaenv_en_C(1,"SSYTRF","U",n,-1,-1,-1)<<endl;
    653 cout<<lps.ilaenv_en_C(1,"DSYTRF","U",n,-1,-1,-1)<<endl;
    654 cout<<lps.ilaenv_en_C(1,"CSYTRF","U",n,-1,-1,-1)<<endl;
    655 cout<<lps.ilaenv_en_C(1,"ZSYTRF","U",n,-1,-1,-1)<<endl;
    656 cout<<lps.ilaenv_en_C(1,"SSYTRF","L",n,-1,-1,-1)<<endl;
    657 cout<<lps.ilaenv_en_C(1,"DSYTRF","L",n,-1,-1,-1)<<endl;
    658 cout<<lps.ilaenv_en_C(1,"CSYTRF","L",n,-1,-1,-1)<<endl;
    659 cout<<lps.ilaenv_en_C(1,"ZSYTRF","L",n,-1,-1,-1)<<endl;
    660 }
    661 */
Note: See TracChangeset for help on using the changeset viewer.