Index: /trunk/psLib/src/dataManip/psMinimize.c
===================================================================
--- /trunk/psLib/src/dataManip/psMinimize.c	(revision 1344)
+++ /trunk/psLib/src/dataManip/psMinimize.c	(revision 1345)
@@ -9,6 +9,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-22 23:40:08 $
+ *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-30 00:39:14 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -869,8 +869,8 @@
  *****************************************************************************/
 psPolynomial1D *
-psGetArrayPolynomial(psPolynomial1D *myPoly,
-                     const psVector *restrict x,
-                     const psVector *restrict y,
-                     const psVector *restrict yErr)
+psVectorFitPolynomial1D(psPolynomial1D *myPoly,
+                        const psVector *restrict x,
+                        const psVector *restrict y,
+                        const psVector *restrict yErr)
 {
     int polyOrder = myPoly->n;
@@ -886,5 +886,5 @@
     psVector *xSums = NULL;
 
-    //    printf("psGetArrayPolynomial()\n");
+    //    printf("psVectorFitPolynomial1D()\n");
     //    for (i=0;i<x->n;i++) {
     //        printf("(x, y, yErr) is (%f, %f, %f)\n", x->data.F64[i], y->data.F64[i], yErr->data.F64[i]);
Index: /trunk/psLib/src/dataManip/psMinimize.h
===================================================================
--- /trunk/psLib/src/dataManip/psMinimize.h	(revision 1344)
+++ /trunk/psLib/src/dataManip/psMinimize.h	(revision 1345)
@@ -39,9 +39,9 @@
 /** Derive a polynomial fit by chi^2 minimisation (analytically) */
 psPolynomial1D *
-psGetArrayPolynomial(psPolynomial1D *myPoly, ///< Polynomial to fit
-                     const psVector *restrict x, ///< Ordinates (or NULL to just use the indices)
-                     const psVector *restrict y, ///< Coordinates
-                     const psVector *restrict yErr ///< Errors in coordinates, or NULL
-                    );
+psVectorFitPolynomial1D(psPolynomial1D *myPoly, ///< Polynomial to fit
+                        const psVector *restrict x, ///< Ordinates (or NULL to just use the indices)
+                        const psVector *restrict y, ///< Coordinates
+                        const psVector *restrict yErr ///< Errors in coordinates, or NULL
+                       );
 
 /* \} */ // End of MathGroup Functions
Index: /trunk/psLib/src/math/psMinimize.c
===================================================================
--- /trunk/psLib/src/math/psMinimize.c	(revision 1344)
+++ /trunk/psLib/src/math/psMinimize.c	(revision 1345)
@@ -9,6 +9,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-22 23:40:08 $
+ *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-30 00:39:14 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -869,8 +869,8 @@
  *****************************************************************************/
 psPolynomial1D *
-psGetArrayPolynomial(psPolynomial1D *myPoly,
-                     const psVector *restrict x,
-                     const psVector *restrict y,
-                     const psVector *restrict yErr)
+psVectorFitPolynomial1D(psPolynomial1D *myPoly,
+                        const psVector *restrict x,
+                        const psVector *restrict y,
+                        const psVector *restrict yErr)
 {
     int polyOrder = myPoly->n;
@@ -886,5 +886,5 @@
     psVector *xSums = NULL;
 
-    //    printf("psGetArrayPolynomial()\n");
+    //    printf("psVectorFitPolynomial1D()\n");
     //    for (i=0;i<x->n;i++) {
     //        printf("(x, y, yErr) is (%f, %f, %f)\n", x->data.F64[i], y->data.F64[i], yErr->data.F64[i]);
Index: /trunk/psLib/src/math/psMinimize.h
===================================================================
--- /trunk/psLib/src/math/psMinimize.h	(revision 1344)
+++ /trunk/psLib/src/math/psMinimize.h	(revision 1345)
@@ -39,9 +39,9 @@
 /** Derive a polynomial fit by chi^2 minimisation (analytically) */
 psPolynomial1D *
-psGetArrayPolynomial(psPolynomial1D *myPoly, ///< Polynomial to fit
-                     const psVector *restrict x, ///< Ordinates (or NULL to just use the indices)
-                     const psVector *restrict y, ///< Coordinates
-                     const psVector *restrict yErr ///< Errors in coordinates, or NULL
-                    );
+psVectorFitPolynomial1D(psPolynomial1D *myPoly, ///< Polynomial to fit
+                        const psVector *restrict x, ///< Ordinates (or NULL to just use the indices)
+                        const psVector *restrict y, ///< Coordinates
+                        const psVector *restrict yErr ///< Errors in coordinates, or NULL
+                       );
 
 /* \} */ // End of MathGroup Functions
Index: /trunk/psLib/test/dataManip/tst_psMinimize04.c
===================================================================
--- /trunk/psLib/test/dataManip/tst_psMinimize04.c	(revision 1344)
+++ /trunk/psLib/test/dataManip/tst_psMinimize04.c	(revision 1345)
@@ -1,4 +1,4 @@
 /*****************************************************************************
-    This routine must ensure that the psGetArrayPolynomial works correctly.
+    This routine must ensure that the psVectorFitPolynomial1D works correctly.
  *****************************************************************************/
 #include <stdio.h>
@@ -45,5 +45,5 @@
     }
 
-    psGetArrayPolynomial(myPoly, x, y, yErr);
+    psVectorFitPolynomial1D(myPoly, x, y, yErr);
 
     for (i=0;i<POLY_ORDER+1;i++) {
