Changeset 6939
- Timestamp:
- Apr 21, 2006, 10:59:51 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMinimizePolyFit.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimizePolyFit.c
r6527 r6939 10 10 * @author EAM, IfA 11 11 * 12 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 3-06 20:57:42$12 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-04-21 20:59:51 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 38 38 /* DEFINE STATEMENTS */ 39 39 /*****************************************************************************/ 40 41 # define USE_GAUSS_JORDAN 1 40 42 41 43 #define PS_VECTOR_GEN_CHEBY_INDEX(VEC, SIZE, TYPE) \ … … 391 393 } 392 394 393 if ( 0) {395 if (USE_GAUSS_JORDAN) { 394 396 // GaussJordan version 395 397 if (false == psGaussJordan(A, B)) { … … 555 557 } 556 558 557 if ( 0) {559 if (USE_GAUSS_JORDAN) { 558 560 // GaussJordan version 559 561 if (false == psGaussJordan(A, B)) { … … 846 848 847 849 // XXX: rel10_ifa used psGaussJordan(). However, this failed tests. So, I'm using psMatrixLUD(). 848 if ( 0) {850 if (USE_GAUSS_JORDAN) { 849 851 // GaussJordan version 850 852 if (false == psGaussJordan(A, B)) { … … 1766 1768 1767 1769 // XXX: rel10_ifa used psGaussJordan(). However, this failed tests. So, I'm using psMatrixLUD(). 1768 if ( 0) {1770 if (USE_GAUSS_JORDAN) { 1769 1771 // does the solution in place 1770 1772 // The matrices were overflowing, so I switched to LUD. … … 2323 2325 2324 2326 // XXX: rel10_ifa used psGaussJordan(). However, this failed tests. So, I'm using psMatrixLUD(). 2325 if ( 0) {2327 if (USE_GAUSS_JORDAN) { 2326 2328 // does the solution in place 2327 2329 // The GaussJordan version was overflowing, so I'm using LUD.
Note:
See TracChangeset
for help on using the changeset viewer.
