IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2006, 10:59:51 AM (20 years ago)
Author:
magnier
Message:

restore the GaussJordan inversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMinimizePolyFit.c

    r6527 r6939  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-03-06 20:57:42 $
     12 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-04-21 20:59:51 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3838/* DEFINE STATEMENTS                                                         */
    3939/*****************************************************************************/
     40
     41# define USE_GAUSS_JORDAN 1
    4042
    4143#define PS_VECTOR_GEN_CHEBY_INDEX(VEC, SIZE, TYPE) \
     
    391393    }
    392394
    393     if (0) {
     395    if (USE_GAUSS_JORDAN) {
    394396        // GaussJordan version
    395397        if (false == psGaussJordan(A, B)) {
     
    555557    }
    556558
    557     if (0) {
     559    if (USE_GAUSS_JORDAN) {
    558560        // GaussJordan version
    559561        if (false == psGaussJordan(A, B)) {
     
    846848
    847849    // XXX: rel10_ifa used psGaussJordan().  However, this failed tests.  So, I'm using psMatrixLUD().
    848     if (0) {
     850    if (USE_GAUSS_JORDAN) {
    849851        // GaussJordan version
    850852        if (false == psGaussJordan(A, B)) {
     
    17661768
    17671769    // XXX: rel10_ifa used psGaussJordan().  However, this failed tests.  So, I'm using psMatrixLUD().
    1768     if (0) {
     1770    if (USE_GAUSS_JORDAN) {
    17691771        // does the solution in place
    17701772        // The matrices were overflowing, so I switched to LUD.
     
    23232325
    23242326    // XXX: rel10_ifa used psGaussJordan().  However, this failed tests.  So, I'm using psMatrixLUD().
    2325     if (0) {
     2327    if (USE_GAUSS_JORDAN) {
    23262328        // does the solution in place
    23272329        // The GaussJordan version was overflowing, so I'm using LUD.
Note: See TracChangeset for help on using the changeset viewer.