Index: trunk/psLib/src/dataManip/psFunctions.h
===================================================================
--- trunk/psLib/src/dataManip/psFunctions.h	(revision 4447)
+++ trunk/psLib/src/dataManip/psFunctions.h	(revision 4528)
@@ -12,6 +12,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-01 22:01:17 $
+ *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-09 02:11:01 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -75,5 +75,5 @@
     psPolynomialType type;             ///< Polynomial type
     psElemType ctype;                  ///< Polynomial precision
-    unsigned int n;                    ///< Number of terms
+    int n;                             ///< Number of terms
     psF32 *coeff;                      ///< Coefficients
     psF32 *coeffErr;                   ///< Error in coefficients
@@ -87,6 +87,6 @@
     psPolynomialType type;             ///< Polynomial type
     psElemType ctype;                  ///< Polynomial precision
-    unsigned int nX;                   ///< Number of terms in x
-    unsigned int nY;                   ///< Number of terms in y
+    int nX;                            ///< Number of terms in x
+    int nY;                            ///< Number of terms in y
     psF32 **coeff;                     ///< Coefficients
     psF32 **coeffErr;                  ///< Error in coefficients
@@ -100,7 +100,7 @@
     psPolynomialType type;             ///< Polynomial type
     psElemType ctype;                  ///< Polynomial precision
-    unsigned int nX;                   ///< Number of terms in x
-    unsigned int nY;                   ///< Number of terms in y
-    unsigned int nZ;                   ///< Number of terms in z
+    int nX;                           ///< Number of terms in x
+    int nY;                            ///< Number of terms in y
+    int nZ;                           ///< Number of terms in z
     psF32 ***coeff;                    ///< Coefficients
     psF32 ***coeffErr;                 ///< Error in coefficients
@@ -114,8 +114,8 @@
     psPolynomialType type;             ///< Polynomial type
     psElemType ctype;                  ///< Polynomial precision
-    unsigned int nX;                   ///< Number of terms in x
-    unsigned int nY;                   ///< Number of terms in y
-    unsigned int nZ;                   ///< Number of terms in z
-    unsigned int nT;                   ///< Number of terms in t
+    int nX;                            ///< Number of terms in x
+    int nY;                            ///< Number of terms in y
+    int nZ;                            ///< Number of terms in z
+    int nT;                            ///< Number of terms in t
     psF32 ****coeff;                   ///< Coefficients
     psF32 ****coeffErr;                ///< Error in coefficients
@@ -130,5 +130,5 @@
  */
 psPolynomial1D* psPolynomial1DAlloc(
-    unsigned int n,                   ///< Number of terms
+    int n,                             ///< Number of terms
     psPolynomialType type              ///< Polynomial Type
 );
@@ -139,6 +139,6 @@
  */
 psPolynomial2D* psPolynomial2DAlloc(
-    unsigned int nX,                   ///< Number of terms in x
-    unsigned int nY,                   ///< Number of terms in y
+    int nX,                   ///< Number of terms in x
+    int nY,                   ///< Number of terms in y
     psPolynomialType type              ///< Polynomial Type
 );
@@ -149,7 +149,7 @@
  */
 psPolynomial3D* psPolynomial3DAlloc(
-    unsigned int nX,                   ///< Number of terms in x
-    unsigned int nY,                   ///< Number of terms in y
-    unsigned int nZ,                   ///< Number of terms in z
+    int nX,                            ///< Number of terms in x
+    int nY,                            ///< Number of terms in y
+    int nZ,                            ///< Number of terms in z
     psPolynomialType type              ///< Polynomial Type
 );
@@ -160,8 +160,8 @@
  */
 psPolynomial4D* psPolynomial4DAlloc(
-    unsigned int nX,                   ///< Number of terms in x
-    unsigned int nY,                   ///< Number of terms in y
-    unsigned int nZ,                   ///< Number of terms in z
-    unsigned int nT,                   ///< Number of terms in t
+    int nX,                            ///< Number of terms in x
+    int nY,                            ///< Number of terms in y
+    int nZ,                            ///< Number of terms in z
+    int nT,                            ///< Number of terms in t
     psPolynomialType type              ///< Polynomial Type
 );
@@ -259,5 +259,5 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    unsigned int n;                           ///< Number of terms
+    int n;                             ///< Number of terms
     psF64 *coeff;                      ///< Coefficients
     psF64 *coeffErr;                   ///< Error in coefficients
@@ -270,6 +270,6 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    unsigned int nX;                          ///< Number of terms in x
-    unsigned int nY;                          ///< Number of terms in y
+    int nX;                            ///< Number of terms in x
+    int nY;                            ///< Number of terms in y
     psF64 **coeff;                     ///< Coefficients
     psF64 **coeffErr;                  ///< Error in coefficients
@@ -282,7 +282,7 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    unsigned int nX;                          ///< Number of terms in x
-    unsigned int nY;                          ///< Number of terms in y
-    unsigned int nZ;                          ///< Number of terms in z
+    int nX;                            ///< Number of terms in x
+    int nY;                            ///< Number of terms in y
+    int nZ;                            ///< Number of terms in z
     psF64 ***coeff;                    ///< Coefficients
     psF64 ***coeffErr;                 ///< Error in coefficients
@@ -295,8 +295,8 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    unsigned int nX;                          ///< Number of terms in w
-    unsigned int nY;                          ///< Number of terms in x
-    unsigned int nZ;                          ///< Number of terms in y
-    unsigned int nT;                          ///< Number of terms in z
+    int nX;                            ///< Number of terms in w
+    int nY;                            ///< Number of terms in x
+    int nZ;                            ///< Number of terms in y
+    int nT;                            ///< Number of terms in z
     psF64 ****coeff;                   ///< Coefficients
     psF64 ****coeffErr;                ///< Error in coefficients
@@ -310,5 +310,5 @@
  */
 psDPolynomial1D* psDPolynomial1DAlloc(
-    unsigned int n,                           ///< Number of terms
+    int n,                             ///< Number of terms
     psPolynomialType type              ///< Polynomial Type
 );
@@ -319,6 +319,6 @@
  */
 psDPolynomial2D* psDPolynomial2DAlloc(
-    unsigned int nX,                          ///< Number of terms in x
-    unsigned int nY,                          ///< Number of terms in y
+    int nX,                            ///< Number of terms in x
+    int nY,                            ///< Number of terms in y
     psPolynomialType type              ///< Polynomial Type
 );
@@ -329,7 +329,7 @@
  */
 psDPolynomial3D* psDPolynomial3DAlloc(
-    unsigned int nX,                          ///< Number of terms in x
-    unsigned int nY,                          ///< Number of terms in y
-    unsigned int nZ,                          ///< Number of terms in z
+    int nX,                            ///< Number of terms in x
+    int nY,                            ///< Number of terms in y
+    int nZ,                            ///< Number of terms in z
     psPolynomialType type              ///< Polynomial Type
 );
@@ -340,8 +340,8 @@
  */
 psDPolynomial4D* psDPolynomial4DAlloc(
-    unsigned int nX,                          ///< Number of terms in w
-    unsigned int nY,                          ///< Number of terms in x
-    unsigned int nZ,                          ///< Number of terms in y
-    unsigned int nT,                          ///< Number of terms in z
+    int nX,                            ///< Number of terms in w
+    int nY,                            ///< Number of terms in x
+    int nZ,                            ///< Number of terms in y
+    int nT,                            ///< Number of terms in z
     psPolynomialType type              ///< Polynomial Type
 );
@@ -450,6 +450,6 @@
  */
 psSpline1D *psSpline1DAlloc(
-    unsigned int n,                    ///< Number of spline polynomials
-    unsigned int order,                ///< Order of spline polynomials
+    int n,                             ///< Number of spline polynomials
+    int order,                         ///< Order of spline polynomials
     float min,                         ///< Lower boundary value of spline polynomials
     float max                          ///< Upper boundary value of spline polynomials
@@ -464,5 +464,5 @@
 psSpline1D *psSpline1DAllocGeneric(
     const psVector *bounds,            ///< Bounds for spline polynomials
-    unsigned int order                 ///< Order of spline polynomials
+    int order                          ///< Order of spline polynomials
 );
 
@@ -503,5 +503,5 @@
     psVector *domain,                  ///< Domain (x coords) for interpolation
     psVector *range,                   ///< Range (y coords) for interpolation
-    unsigned int order,                ///< Order of interpolation function
+    int order,                         ///< Order of interpolation function
     psScalar *x                        ///< Location at which to evaluate
 );
