Changeset 2571 in Sophya for trunk/SophyaProg
- Timestamp:
- Jul 28, 2004, 4:20:43 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tsttminv.cc
r2566 r2571 85 85 r_8 Check_Mat_VecCol_0(TMatrix< TYPE >& A); 86 86 void 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 sophya92 */93 // void TestIlaEnv(int_4 n);94 #endif95 87 96 88 … … 178 170 if(symetok) cout<<"Input matrix has been symetrized "<<symetok<<endl; 179 171 cout<<endl; 180 181 //--------------------------------------------------------182 // TestIlaEnv(N); return -41;183 //--------------------------------------------------------184 172 185 173 //-------------------------------------------------------- … … 332 320 333 321 334 //////////////////////////////////////////////// 335 ///////// Test avec Lapack LeastSquare /////////336 //////////////////////////////////////////////// 322 /////////////////////////////////////////////////////// 323 ///////// Test avec Lapack LeastSquare by SVD ///////// 324 /////////////////////////////////////////////////////// 337 325 #if defined(USE_LAPACK) && defined(ALSO_LAPACK_INV_LSS_SVD) 338 326 { … … 506 494 if(nprline>0) {cout<<S; cout<<endl;} 507 495 double 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; 511 500 //-- A = U*S*VT 512 501 cout<<"Compute A = U*S*VT"<<endl; … … 643 632 <<", imag = "<<vmaxi<<", module = "<<vmaxn<<endl; 644 633 } 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.