Changeset 4937 for trunk/psLib/src/math/psFunctions.h
- Timestamp:
- Aug 31, 2005, 12:28:35 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psFunctions.h (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psFunctions.h
r4898 r4937 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-08-3 0 01:14:13$14 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-08-31 22:28:35 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 74 74 { 75 75 psPolynomialType type; ///< Polynomial type 76 int n;///< Number of terms76 unsigned int n; ///< Number of terms 77 77 psF64 *coeff; ///< Coefficients 78 78 psF64 *coeffErr; ///< Error in coefficients … … 85 85 { 86 86 psPolynomialType type; ///< Polynomial type 87 int nX;///< Number of terms in x88 int nY;///< Number of terms in y87 unsigned int nX; ///< Number of terms in x 88 unsigned int nY; ///< Number of terms in y 89 89 psF64 **coeff; ///< Coefficients 90 90 psF64 **coeffErr; ///< Error in coefficients … … 97 97 { 98 98 psPolynomialType type; ///< Polynomial type 99 int nX;///< Number of terms in x100 int nY;///< Number of terms in y101 int nZ;///< Number of terms in z99 unsigned int nX; ///< Number of terms in x 100 unsigned int nY; ///< Number of terms in y 101 unsigned int nZ; ///< Number of terms in z 102 102 psF64 ***coeff; ///< Coefficients 103 103 psF64 ***coeffErr; ///< Error in coefficients … … 110 110 { 111 111 psPolynomialType type; ///< Polynomial type 112 int nX;///< Number of terms in x113 int nY;///< Number of terms in y114 int nZ;///< Number of terms in z115 int nT;///< Number of terms in t112 unsigned int nX; ///< Number of terms in x 113 unsigned int nY; ///< Number of terms in y 114 unsigned int nZ; ///< Number of terms in z 115 unsigned int nT; ///< Number of terms in t 116 116 psF64 ****coeff; ///< Coefficients 117 117 psF64 ****coeffErr; ///< Error in coefficients … … 126 126 */ 127 127 psPolynomial1D* psPolynomial1DAlloc( 128 int n,///< Number of terms128 unsigned int n, ///< Number of terms 129 129 psPolynomialType type ///< Polynomial Type 130 130 ); … … 135 135 */ 136 136 psPolynomial2D* psPolynomial2DAlloc( 137 int nX, ///< Number of terms in x138 int nY, ///< Number of terms in y137 unsigned int nX, ///< Number of terms in x 138 unsigned int nY, ///< Number of terms in y 139 139 psPolynomialType type ///< Polynomial Type 140 140 ); … … 145 145 */ 146 146 psPolynomial3D* psPolynomial3DAlloc( 147 int nX,///< Number of terms in x148 int nY,///< Number of terms in y149 int nZ,///< Number of terms in z147 unsigned int nX, ///< Number of terms in x 148 unsigned int nY, ///< Number of terms in y 149 unsigned int nZ, ///< Number of terms in z 150 150 psPolynomialType type ///< Polynomial Type 151 151 ); … … 156 156 */ 157 157 psPolynomial4D* psPolynomial4DAlloc( 158 int nX,///< Number of terms in x159 int nY,///< Number of terms in y160 int nZ,///< Number of terms in z161 int nT,///< Number of terms in t158 unsigned int nX, ///< Number of terms in x 159 unsigned int nY, ///< Number of terms in y 160 unsigned int nZ, ///< Number of terms in z 161 unsigned int nT, ///< Number of terms in t 162 162 psPolynomialType type ///< Polynomial Type 163 163 ); … … 212 212 psPtr ptr ///< the pointer whose type to check 213 213 ); 214 215 216 214 217 215 /** Evaluates a 1-D polynomial at specific coordinates. … … 299 297 ); 300 298 301 302 299 /** One-Dimensional Spline */ 303 300 typedef struct 304 301 { 305 int n;///< The number of spline pieces302 unsigned int n; ///< The number of spline pieces 306 303 psPolynomial1D **spline; ///< An array of n pointers to the spline polynomials 307 304 psVector *knots; ///< The boundaries between each spline piece. Size is n+1. … … 319 316 */ 320 317 psSpline1D *psSpline1DAlloc( 321 int n, ///< Number of spline polynomials322 int order, ///< Order of spline polynomials318 unsigned int n, ///< Number of spline polynomials 319 unsigned int order, ///< Order of spline polynomials 323 320 float min, ///< Lower boundary value of spline polynomials 324 321 float max ///< Upper boundary value of spline polynomials … … 333 330 psSpline1D *psSpline1DAllocGeneric( 334 331 const psVector *bounds, ///< Bounds for spline polynomials 335 int order///< Order of spline polynomials332 unsigned int order ///< Order of spline polynomials 336 333 ); 337 334
Note:
See TracChangeset
for help on using the changeset viewer.
