Index: trunk/psLib/src/math/psPolynomial.h
===================================================================
--- trunk/psLib/src/math/psPolynomial.h	(revision 4405)
+++ trunk/psLib/src/math/psPolynomial.h	(revision 4422)
@@ -12,6 +12,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-28 00:53:53 $
+ *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-29 00:43:46 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -74,5 +74,5 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 n;                           ///< Number of terms
+    unsigned int n;                   ///< Number of terms
     psF32 *coeff;                      ///< Coefficients
     psF32 *coeffErr;                   ///< Error in coefficients
@@ -85,6 +85,6 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 nX;                          ///< Number of terms in x
-    psS32 nY;                          ///< Number of terms in y
+    unsigned int nX;                   ///< Number of terms in x
+    unsigned int nY;                   ///< Number of terms in y
     psF32 **coeff;                     ///< Coefficients
     psF32 **coeffErr;                  ///< Error in coefficients
@@ -97,7 +97,7 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 nX;                          ///< Number of terms in x
-    psS32 nY;                          ///< Number of terms in y
-    psS32 nZ;                          ///< Number of terms in z
+    unsigned int nX;                   ///< Number of terms in x
+    unsigned int nY;                   ///< Number of terms in y
+    unsigned int nZ;                   ///< Number of terms in z
     psF32 ***coeff;                    ///< Coefficients
     psF32 ***coeffErr;                 ///< Error in coefficients
@@ -110,8 +110,8 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 nW;                          ///< Number of terms in w
-    psS32 nX;                          ///< Number of terms in x
-    psS32 nY;                          ///< Number of terms in y
-    psS32 nZ;                          ///< Number of terms in z
+    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
     psF32 ****coeff;                   ///< Coefficients
     psF32 ****coeffErr;                ///< Error in coefficients
@@ -126,5 +126,5 @@
  */
 psPolynomial1D* psPolynomial1DAlloc(
-    psS32 n,                           ///< Number of terms
+    int n,                   ///< Number of terms
     psPolynomialType type              ///< Polynomial Type
 );
@@ -135,6 +135,6 @@
  */
 psPolynomial2D* psPolynomial2DAlloc(
-    psS32 nX,                          ///< Number of terms in x
-    psS32 nY,                          ///< Number of terms in y
+    int nX,                   ///< Number of terms in x
+    int nY,                   ///< Number of terms in y
     psPolynomialType type              ///< Polynomial Type
 );
@@ -145,7 +145,7 @@
  */
 psPolynomial3D* psPolynomial3DAlloc(
-    psS32 nX,                          ///< Number of terms in x
-    psS32 nY,                          ///< Number of terms in y
-    psS32 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
 );
@@ -156,8 +156,8 @@
  */
 psPolynomial4D* psPolynomial4DAlloc(
-    psS32 nW,                          ///< Number of terms in w
-    psS32 nX,                          ///< Number of terms in x
-    psS32 nY,                          ///< Number of terms in y
-    psS32 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
+    int nT,                   ///< Number of terms in t
     psPolynomialType type              ///< Polynomial Type
 );
@@ -177,7 +177,7 @@
  */
 psF64 psPolynomial2DEval(
-    const psPolynomial2D* poly,         ///< Coefficients for the polynomial
-    psF64 x,                            ///< x location at which to evaluate
-    psF64 y                             ///< y location at which to evaluate
+    const psPolynomial2D* poly,        ///< Coefficients for the polynomial
+    psF64 x,                           ///< x location at which to evaluate
+    psF64 y                            ///< y location at which to evaluate
 );
 
@@ -255,5 +255,5 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 n;                           ///< Number of terms
+    unsigned int n;                           ///< Number of terms
     psF64 *coeff;                      ///< Coefficients
     psF64 *coeffErr;                   ///< Error in coefficients
@@ -266,6 +266,6 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 nX;                          ///< Number of terms in x
-    psS32 nY;                          ///< Number of terms in y
+    unsigned int nX;                          ///< Number of terms in x
+    unsigned int nY;                          ///< Number of terms in y
     psF64 **coeff;                     ///< Coefficients
     psF64 **coeffErr;                  ///< Error in coefficients
@@ -278,7 +278,7 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 nX;                          ///< Number of terms in x
-    psS32 nY;                          ///< Number of terms in y
-    psS32 nZ;                          ///< Number of terms in z
+    unsigned int nX;                          ///< Number of terms in x
+    unsigned int nY;                          ///< Number of terms in y
+    unsigned int nZ;                          ///< Number of terms in z
     psF64 ***coeff;                    ///< Coefficients
     psF64 ***coeffErr;                 ///< Error in coefficients
@@ -291,8 +291,8 @@
 {
     psPolynomialType type;             ///< Polynomial type
-    psS32 nW;                          ///< Number of terms in w
-    psS32 nX;                          ///< Number of terms in x
-    psS32 nY;                          ///< Number of terms in y
-    psS32 nZ;                          ///< Number of terms in z
+    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
     psF64 ****coeff;                   ///< Coefficients
     psF64 ****coeffErr;                ///< Error in coefficients
@@ -306,5 +306,5 @@
  */
 psDPolynomial1D* psDPolynomial1DAlloc(
-    psS32 n,                           ///< Number of terms
+    int n,                           ///< Number of terms
     psPolynomialType type              ///< Polynomial Type
 );
@@ -315,6 +315,6 @@
  */
 psDPolynomial2D* psDPolynomial2DAlloc(
-    psS32 nX,                          ///< Number of terms in x
-    psS32 nY,                          ///< Number of terms in y
+    int nX,                          ///< Number of terms in x
+    int nY,                          ///< Number of terms in y
     psPolynomialType type              ///< Polynomial Type
 );
@@ -325,7 +325,7 @@
  */
 psDPolynomial3D* psDPolynomial3DAlloc(
-    psS32 nX,                          ///< Number of terms in x
-    psS32 nY,                          ///< Number of terms in y
-    psS32 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
 );
@@ -336,8 +336,8 @@
  */
 psDPolynomial4D* psDPolynomial4DAlloc(
-    psS32 nW,                          ///< Number of terms in w
-    psS32 nX,                          ///< Number of terms in x
-    psS32 nY,                          ///< Number of terms in y
-    psS32 nZ,                          ///< 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
 );
@@ -348,5 +348,5 @@
  */
 psF64 psDPolynomial1DEval(
-    const psDPolynomial1D* myPoly,     ///< Coefficients for the polynomial
+    const psDPolynomial1D* poly,     ///< Coefficients for the polynomial
     psF64 x                            ///< Value at which to evaluate
 );
@@ -357,5 +357,5 @@
  */
 psF64 psDPolynomial2DEval(
-    const psDPolynomial2D* myPoly,      ///< Coefficients for the polynomial
+    const psDPolynomial2D* poly,      ///< Coefficients for the polynomial
     psF64 x,                            ///< Value x at which to evaluate
     psF64 y                             ///< Value y at which to evaluate
@@ -367,5 +367,5 @@
  */
 psF64 psDPolynomial3DEval(
-    const psDPolynomial3D* myPoly,     ///< Coefficients for the polynomial
+    const psDPolynomial3D* poly,     ///< Coefficients for the polynomial
     psF64 x,                           ///< Value x at which to evaluate
     psF64 y,                           ///< Value y at which to evaluate
@@ -378,9 +378,9 @@
  */
 psF64 psDPolynomial4DEval(
-    const psDPolynomial4D* myPoly,     ///< Coefficients for the polynomial
-    psF64 w,                           ///< Value w at which to evaluate
-    psF64 x,                           ///< Value x at which to evaluate
-    psF64 y,                           ///< Value y at which to evaluate
-    psF64 z                            ///< Value z at which to evaluate
+    const psDPolynomial4D* poly,     ///< Coefficients for the polynomial
+    psF64 x,                           ///< Value w at which to evaluate
+    psF64 y,                           ///< Value x at which to evaluate
+    psF64 z,                           ///< Value y at which to evaluate
+    psF64 t                            ///< Value z at which to evaluate
 );
 
@@ -390,5 +390,5 @@
  */
 psVector *psDPolynomial1DEvalVector(
-    const psDPolynomial1D *myPoly,     ///< Coefficients for the polynomial
+    const psDPolynomial1D *poly,     ///< Coefficients for the polynomial
     const psVector *x                  ///< x locations at which to evaluate
 );
@@ -399,5 +399,5 @@
  */
 psVector *psDPolynomial2DEvalVector(
-    const psDPolynomial2D *myPoly,     ///< Coefficients for the polynomial
+    const psDPolynomial2D *poly,     ///< Coefficients for the polynomial
     const psVector *x,                 ///< x locations at which to evaluate
     const psVector *y                  ///< y locations at which to evaluate
@@ -409,5 +409,5 @@
  */
 psVector *psDPolynomial3DEvalVector(
-    const psDPolynomial3D *myPoly,     ///< Coefficients for the polynomial
+    const psDPolynomial3D *poly,     ///< Coefficients for the polynomial
     const psVector *x,                 ///< x locations at which to evaluate
     const psVector *y,                 ///< y locations at which to evaluate
@@ -420,9 +420,9 @@
  */
 psVector *psDPolynomial4DEvalVector(
-    const psDPolynomial4D *myPoly,     ///< Coefficients for the polynomial
-    const psVector *w,                 ///< w locations at which to evaluate
-    const psVector *x,                 ///< x locations at which to evaluate
-    const psVector *y,                 ///< y locations at which to evaluate
-    const psVector *z                  ///< z locations at which to evaluate
+    const psDPolynomial4D *poly,     ///< Coefficients for the polynomial
+    const psVector *x,                 ///< w locations at which to evaluate
+    const psVector *y,                 ///< x locations at which to evaluate
+    const psVector *z,                 ///< y locations at which to evaluate
+    const psVector *t                  ///< z locations at which to evaluate
 );
 
