Mercurial > hg > octave-nkf
comparison liboctave/eigs-base.cc @ 8677:095ae5e0a831
eliminte some compiler warnings
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Feb 2009 02:42:58 -0500 |
parents | 654bcfb937bf |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8676:22462fd58e66 | 8677:095ae5e0a831 |
---|---|
1382 EigsRealSymmetricFunc (EigsFunc fun, octave_idx_type n, | 1382 EigsRealSymmetricFunc (EigsFunc fun, octave_idx_type n, |
1383 const std::string &_typ, double sigma, | 1383 const std::string &_typ, double sigma, |
1384 octave_idx_type k, octave_idx_type p, | 1384 octave_idx_type k, octave_idx_type p, |
1385 octave_idx_type &info, Matrix &eig_vec, | 1385 octave_idx_type &info, Matrix &eig_vec, |
1386 ColumnVector &eig_val, ColumnVector &resid, | 1386 ColumnVector &eig_val, ColumnVector &resid, |
1387 std::ostream& os, double tol, int rvec, bool cholB, | 1387 std::ostream& os, double tol, int rvec, |
1388 int disp, int maxit) | 1388 bool /* cholB */, int disp, int maxit) |
1389 { | 1389 { |
1390 std::string typ (_typ); | 1390 std::string typ (_typ); |
1391 bool have_sigma = (sigma ? true : false); | 1391 bool have_sigma = (sigma ? true : false); |
1392 char bmat = 'I'; | 1392 char bmat = 'I'; |
1393 octave_idx_type mode = 1; | 1393 octave_idx_type mode = 1; |
2360 EigsRealNonSymmetricFunc (EigsFunc fun, octave_idx_type n, | 2360 EigsRealNonSymmetricFunc (EigsFunc fun, octave_idx_type n, |
2361 const std::string &_typ, double sigmar, | 2361 const std::string &_typ, double sigmar, |
2362 octave_idx_type k, octave_idx_type p, | 2362 octave_idx_type k, octave_idx_type p, |
2363 octave_idx_type &info, ComplexMatrix &eig_vec, | 2363 octave_idx_type &info, ComplexMatrix &eig_vec, |
2364 ComplexColumnVector &eig_val, ColumnVector &resid, | 2364 ComplexColumnVector &eig_val, ColumnVector &resid, |
2365 std::ostream& os, double tol, int rvec, bool cholB, | 2365 std::ostream& os, double tol, int rvec, |
2366 int disp, int maxit) | 2366 bool /* cholB */, int disp, int maxit) |
2367 { | 2367 { |
2368 std::string typ (_typ); | 2368 std::string typ (_typ); |
2369 bool have_sigma = (sigmar ? true : false); | 2369 bool have_sigma = (sigmar ? true : false); |
2370 char bmat = 'I'; | 2370 char bmat = 'I'; |
2371 double sigmai = 0.; | 2371 double sigmai = 0.; |
3300 const std::string &_typ, Complex sigma, | 3300 const std::string &_typ, Complex sigma, |
3301 octave_idx_type k, octave_idx_type p, | 3301 octave_idx_type k, octave_idx_type p, |
3302 octave_idx_type &info, ComplexMatrix &eig_vec, | 3302 octave_idx_type &info, ComplexMatrix &eig_vec, |
3303 ComplexColumnVector &eig_val, | 3303 ComplexColumnVector &eig_val, |
3304 ComplexColumnVector &cresid, std::ostream& os, | 3304 ComplexColumnVector &cresid, std::ostream& os, |
3305 double tol, int rvec, bool cholB, int disp, | 3305 double tol, int rvec, bool /* cholB */, |
3306 int maxit) | 3306 int disp, int maxit) |
3307 { | 3307 { |
3308 std::string typ (_typ); | 3308 std::string typ (_typ); |
3309 bool have_sigma = (std::abs(sigma) ? true : false); | 3309 bool have_sigma = (std::abs(sigma) ? true : false); |
3310 char bmat = 'I'; | 3310 char bmat = 'I'; |
3311 octave_idx_type mode = 1; | 3311 octave_idx_type mode = 1; |