IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2007, 2:41:17 PM (18 years ago)
Author:
Paul Price
Message:

Removing Numerical Recipes code that was noted to be 'temporary': replaced the Gauss-Jordan solver with our LU Decomposition solver, since I couldn't find a GPL Gauss-Jordan solver code (none in GSL). NR says that the LU solver operation count is a factor of 3 better than GJ (p48 of NR ed 2), but we could be slowed down by converting to GSL vector/matrix representation; this could be sped up by doing something other than copying the elements individually that MHPCC originally implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMatrix.h

    r12292 r15820  
    1919 * @author Ross Harman, MHPCC
    2020 *
    21  * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    22  * @date $Date: 2007-03-07 20:48:55 $
     21 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     22 * @date $Date: 2007-12-14 00:41:17 $
    2323 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    2424 */
     
    6161);
    6262
    63 /** Gauss-Jordan numerical solver.
     63/** Used to be a Gauss-Jordan numerical solver, but now uses LU decomposition.
    6464 *
    6565 *  @return bool:   True if successful.
     
    7070);
    7171
    72 /** Gauss-Jordan numerical solver for F32 input data
    73  *
    74  *  @return bool:   True if successful.
    75  */
    76 bool psMatrixGJSolveF32(
    77     psImage *A,                   ///< Matrix to be solved
    78     psVector *b                   ///< Vector of values
    79 );
     72/** Gauss-Jordan numerical solver for F32 input data */
     73#define psMatrixGJSolveF32(A,B) psMatrixGJSolve(A,B)
     74
    8075
    8176/** Invert psImage matrix.
Note: See TracChangeset for help on using the changeset viewer.