Index: trunk/psLib/src/math/psPolynomial.h
===================================================================
--- trunk/psLib/src/math/psPolynomial.h	(revision 6186)
+++ trunk/psLib/src/math/psPolynomial.h	(revision 6204)
@@ -11,6 +11,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-23 22:25:31 $
+ *  @version $Revision: 1.61 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-01-26 21:10:22 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -127,6 +127,6 @@
  */
 psPolynomial1D* psPolynomial1DAlloc(
-    unsigned int n,                    ///< Number of terms
-    psPolynomialType type              ///< Polynomial Type
+    psPolynomialType type,             ///< Polynomial Type
+    unsigned int nX                    ///< Number of terms
 );
 
@@ -136,30 +136,30 @@
  */
 psPolynomial2D* psPolynomial2DAlloc(
+    psPolynomialType type,             ///< Polynomial Type
+    unsigned int nX,                   ///< Number of terms in x
+    unsigned int nY                    ///< Number of terms in y
+);
+
+/** Allocates a 3-D polynomial structure
+ *
+ *  @return  psPolynomial3D*    new 3-D polynomial struct
+ */
+psPolynomial3D* psPolynomial3DAlloc(
+    psPolynomialType type,             ///< Polynomial Type
     unsigned int nX,                   ///< Number of terms in x
     unsigned int nY,                   ///< Number of terms in y
-    psPolynomialType type              ///< Polynomial Type
-);
-
-/** Allocates a 3-D polynomial structure
- *
- *  @return  psPolynomial3D*    new 3-D polynomial struct
- */
-psPolynomial3D* psPolynomial3DAlloc(
+    unsigned int nZ                    ///< Number of terms in z
+);
+
+/** Allocates a 4-D polynomial structure
+ *
+ *  @return  psPolynomial4D*    new 4-D polynomial struct
+ */
+psPolynomial4D* psPolynomial4DAlloc(
+    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
-    psPolynomialType type              ///< Polynomial Type
-);
-
-/** Allocates a 4-D polynomial structure
- *
- *  @return  psPolynomial4D*    new 4-D polynomial struct
- */
-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
-    psPolynomialType type              ///< Polynomial Type
+    unsigned int nT                    ///< Number of terms in t
 );
 
