Changeset 6185
- Timestamp:
- Jan 23, 2006, 10:44:29 AM (20 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 7 edited
-
math/psMinimizeLMM.h (modified) (2 diffs)
-
math/psMinimizePolyFit.c (modified) (5 diffs)
-
math/psMinimizePolyFit.h (modified) (2 diffs)
-
math/psMinimizePowell.h (modified) (2 diffs)
-
math/psStats.c (modified) (2 diffs)
-
pslib_strict.h (modified) (2 diffs)
-
sys/psMemory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimizeLMM.h
r6101 r6185 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-01-2 1 02:43:31$10 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-23 20:44:29 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 #define PS_MINIMIZE_LMM_H 19 19 20 /** \file psMinimize .h20 /** \file psMinimizeLMM.h 21 21 * \brief minimization operations 22 22 * \ingroup Stats -
trunk/psLib/src/math/psMinimizePolyFit.c
r6101 r6185 10 10 * @author EAM, IfA 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-01-2 1 02:43:31$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-01-23 20:44:29 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 862 862 psF32 minClipSigma; 863 863 psF32 maxClipSigma; 864 865 864 if (isnan(stats->max) || isfinite(stats->max)) { 866 865 maxClipSigma = fabs(stats->clipSigma); … … 873 872 minClipSigma = fabs(stats->min); 874 873 } 874 875 875 psVector *fit = NULL; 876 876 psVector *resid = psVectorAlloc(f->n, PS_TYPE_F64); … … 881 881 // for now, for the SAMPLE_MEDIAN and SAMPLE_STDEV to be used 882 882 stats->options |= (PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV); 883 884 883 psTrace(__func__, 4, "stats->clipIter is %d\n", stats->clipIter); 885 884 psTrace(__func__, 4, "(minClipSigma, maxClipSigma) is (%.2f, %.2f)\n", minClipSigma, maxClipSigma); 885 886 886 // 887 887 for (int N = 0; N < stats->clipIter; N++) { 888 888 psTrace(__func__, 6, "Loop iteration %d. Calling psVectorFitPolynomial1D()\n"); 889 889 int Nkeep = 0; 890 // XXX: Check error codes891 890 if (psTraceGetLevel(__func__) >= 6) { 892 891 if (mask != NULL) { … … 902 901 } 903 902 903 // XXX: Check error codes 904 904 fit = psPolynomial1DEvalVector(poly, x); 905 905 for (psS32 i = 0 ; i < f->n ; i++) { -
trunk/psLib/src/math/psMinimizePolyFit.h
r6101 r6185 10 10 * XXX: Must Doxygenate. 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-01-2 1 02:43:31$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-01-23 20:44:29 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 #define PS_MINIMIZE_POLYFIT_H 21 21 22 /** \file psMinimize .h22 /** \file psMinimizePolyFit.h 23 23 * \brief minimization operations 24 24 * \ingroup Stats -
trunk/psLib/src/math/psMinimizePowell.h
r6101 r6185 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-01-2 1 02:43:31$10 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-23 20:44:29 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 #define PS_MINIMIZE_POWELL_H 19 19 20 /** \file psMinimize .h20 /** \file psMinimizePowell.h 21 21 * \brief minimization operations 22 22 * \ingroup Stats -
trunk/psLib/src/math/psStats.c
r6101 r6185 17 17 * 18 18 * 19 * @version $Revision: 1.15 8$ $Name: not supported by cvs2svn $20 * @date $Date: 2006-01-2 1 02:43:32$19 * @version $Revision: 1.159 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2006-01-23 20:44:29 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 40 40 #include "psError.h" 41 41 #include "psStats.h" 42 #include "psMinimize.h" 42 #include "psMinimizeLMM.h" 43 #include "psMinimizePolyFit.h" 43 44 #include "psPolynomial.h" 44 45 #include "psConstants.h" -
trunk/psLib/src/pslib_strict.h
r5512 r6185 9 9 * @author Eric Van Alst, MHPCC 10 10 * 11 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $12 * @date $Date: 200 5-11-14 22:18:05$11 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-01-23 20:44:29 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 75 75 #include "psConstants.h" 76 76 #include "psMatrix.h" 77 #include "psMinimize.h" 77 #include "psMinimizeLMM.h" 78 #include "psMinimizePowell.h" 79 #include "psMinimizePolyFit.h" 78 80 #include "psRandom.h" 79 81 #include "psPolynomial.h" -
trunk/psLib/src/sys/psMemory.c
r5216 r6185 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1.6 5$ $Name: not supported by cvs2svn $11 * @date $Date: 200 5-10-01 02:22:13$10 * @version $Revision: 1.66 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-23 20:44:29 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 41 41 #include "psSphereOps.h" 42 42 //#include "psStats.h" 43 #include "psMinimize .h"43 #include "psMinimizeLMM.h" 44 44 #include "psImageConvolve.h" 45 45 #include "psTime.h"
Note:
See TracChangeset
for help on using the changeset viewer.
