Changeset 2433 for trunk/psLib/src/math/psSpline.h
- Timestamp:
- Nov 24, 2004, 11:59:43 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.h
r2431 r2433 12 12 * @author George Gusciora, MHPCC 13 13 * 14 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-11-24 2 0:34:13 $14 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-11-24 21:59:43 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 163 163 */ 164 164 float psPolynomial1DEval( 165 float x, ///< location at which to evaluate166 const psPolynomial1D* myPoly ///< Coefficients for the polynomial165 const psPolynomial1D* myPoly, ///< Coefficients for the polynomial 166 float x ///< location at which to evaluate 167 167 ); 168 168 … … 172 172 */ 173 173 float psPolynomial2DEval( 174 const psPolynomial2D* myPoly, ///< Coefficients for the polynomial 175 float x, ///< x location at which to evaluate 176 float y ///< y location at which to evaluate 177 ); 178 179 /** Evaluates a 3-D polynomial at specific coordinates. 180 * 181 * @return float result of polynomial at given location 182 */ 183 float psPolynomial3DEval( 184 const psPolynomial3D* myPoly, ///< Coefficients for the polynomial 174 185 float x, ///< x location at which to evaluate 175 186 float y, ///< y location at which to evaluate 176 const psPolynomial2D* myPoly ///< Coefficients for the polynomial 177 ); 178 179 /** Evaluates a 3-D polynomial at specific coordinates. 180 * 181 * @return float result of polynomial at given location 182 */ 183 float psPolynomial3DEval( 184 float x, ///< x location at which to evaluate 185 float y, ///< y location at which to evaluate 186 float z, ///< z location at which to evaluate 187 const psPolynomial3D* myPoly ///< Coefficients for the polynomial 187 float z ///< z location at which to evaluate 188 188 ); 189 189 … … 193 193 */ 194 194 float psPolynomial4DEval( 195 const psPolynomial4D* myPoly, ///< Coefficients for the polynomial 195 196 float w, ///< w location at which to evaluate 196 197 float x, ///< x location at which to evaluate 197 198 float y, ///< y location at which to evaluate 198 float z, ///< z location at which to evaluate 199 const psPolynomial4D* myPoly ///< Coefficients for the polynomial 200 ); 201 202 psVector *psPolynomial1DEvalVector(const psVector *x, ///< x locations at which to evaluate 203 const psPolynomial1D *myPoly ///< Coefficients for the polynomial 204 ); 205 206 psVector *psPolynomial2DEvalVector(const psVector *x, ///< x locations at which to evaluate 207 const psVector *y, ///< y locations at which to evaluate 208 const psPolynomial2D *myPoly ///< Coefficients for the polynomial 209 ); 210 211 psVector *psPolynomial3DEvalVector(const psVector *x, ///< x locations at which to evaluate 212 const psVector *y, ///< y locations at which to evaluate 213 const psVector *z, ///< z locations at which to evaluate 214 const psPolynomial3D *myPoly ///< Coefficients for the polynomial 215 ); 216 217 psVector *psPolynomial4DEvalVector(const psVector *w, ///< w locations at which to evaluate 218 const psVector *x, ///< x locations at which to evaluate 219 const psVector *y, ///< y locations at which to evaluate 220 const psVector *z, ///< z locations at which to evaluate 221 const psPolynomial4D *myPoly ///< Coefficients for the polynomial 222 ); 199 float z ///< z location at which to evaluate 200 ); 201 202 psVector *psPolynomial1DEvalVector( 203 const psPolynomial1D *myPoly, ///< Coefficients for the polynomial 204 const psVector *x ///< x locations at which to evaluate 205 ); 206 207 psVector *psPolynomial2DEvalVector( 208 const psPolynomial2D *myPoly, ///< Coefficients for the polynomial 209 const psVector *x, ///< x locations at which to evaluate 210 const psVector *y ///< y locations at which to evaluate 211 ); 212 213 psVector *psPolynomial3DEvalVector( 214 const psPolynomial3D *myPoly, ///< Coefficients for the polynomial 215 const psVector *x, ///< x locations at which to evaluate 216 const psVector *y, ///< y locations at which to evaluate 217 const psVector *z ///< z locations at which to evaluate 218 ); 219 220 psVector *psPolynomial4DEvalVector( 221 const psPolynomial4D *myPoly, ///< Coefficients for the polynomial 222 const psVector *w, ///< w locations at which to evaluate 223 const psVector *x, ///< x locations at which to evaluate 224 const psVector *y, ///< y locations at which to evaluate 225 const psVector *z ///< z locations at which to evaluate 226 ); 223 227 224 228 /*****************************************************************************/ … … 323 327 */ 324 328 double psDPolynomial1DEval( 325 double x, ///< Value at which to evaluate326 const psDPolynomial1D* myPoly ///< Coefficients for the polynomial329 const psDPolynomial1D* myPoly, ///< Coefficients for the polynomial 330 double x ///< Value at which to evaluate 327 331 ); 328 332 … … 332 336 */ 333 337 double psDPolynomial2DEval( 338 const psDPolynomial2D* myPoly, ///< Coefficients for the polynomial 334 339 double x, ///< Value x at which to evaluate 335 double y, ///< Value y at which to evaluate 336 const psDPolynomial2D* myPoly ///< Coefficients for the polynomial 340 double y ///< Value y at which to evaluate 337 341 ); 338 342 … … 342 346 */ 343 347 double psDPolynomial3DEval( 348 const psDPolynomial3D* myPoly, ///< Coefficients for the polynomial 344 349 double x, ///< Value x at which to evaluate 345 350 double y, ///< Value y at which to evaluate 346 double z, ///< Value z at which to evaluate 347 const psDPolynomial3D* myPoly ///< Coefficients for the polynomial 351 double z ///< Value z at which to evaluate 348 352 ); 349 353 … … 353 357 */ 354 358 double psDPolynomial4DEval( 359 const psDPolynomial4D* myPoly, ///< Coefficients for the polynomial 355 360 double w, ///< Value w at which to evaluate 356 361 double x, ///< Value x at which to evaluate 357 362 double y, ///< Value y at which to evaluate 358 double z, ///< Value z at which to evaluate 359 const psDPolynomial4D* myPoly ///< Coefficients for the polynomial 360 ); 361 362 psVector *psDPolynomial1DEvalVector(const psVector *x, ///< x locations at which to evaluate 363 const psDPolynomial1D *myPoly ///< Coefficients for the polynomial 364 ); 365 366 psVector *psDPolynomial2DEvalVector(const psVector *x, ///< x locations at which to evaluate 367 const psVector *y, ///< y locations at which to evaluate 368 const psDPolynomial2D *myPoly ///< Coefficients for the polynomial 369 ); 370 371 psVector *psDPolynomial3DEvalVector(const psVector *x, ///< x locations at which to evaluate 372 const psVector *y, ///< y locations at which to evaluate 373 const psVector *z, ///< z locations at which to evaluate 374 const psDPolynomial3D *myPoly ///< Coefficients for the polynomial 375 ); 376 377 psVector *psDPolynomial4DEvalVector(const psVector *w, ///< w locations at which to evaluate 378 const psVector *x, ///< x locations at which to evaluate 379 const psVector *y, ///< y locations at which to evaluate 380 const psVector *z, ///< z locations at which to evaluate 381 const psDPolynomial4D *myPoly ///< Coefficients for the polynomial 382 ); 363 double z ///< Value z at which to evaluate 364 ); 365 366 psVector *psDPolynomial1DEvalVector( 367 const psDPolynomial1D *myPoly, ///< Coefficients for the polynomial 368 const psVector *x ///< x locations at which to evaluate 369 ); 370 371 psVector *psDPolynomial2DEvalVector( 372 const psDPolynomial2D *myPoly, ///< Coefficients for the polynomial 373 const psVector *x, ///< x locations at which to evaluate 374 const psVector *y ///< y locations at which to evaluate 375 ); 376 377 psVector *psDPolynomial3DEvalVector( 378 const psDPolynomial3D *myPoly, ///< Coefficients for the polynomial 379 const psVector *x, ///< x locations at which to evaluate 380 const psVector *y, ///< y locations at which to evaluate 381 const psVector *z ///< z locations at which to evaluate 382 ); 383 384 psVector *psDPolynomial4DEvalVector( 385 const psDPolynomial4D *myPoly, ///< Coefficients for the polynomial 386 const psVector *w, ///< w locations at which to evaluate 387 const psVector *x, ///< x locations at which to evaluate 388 const psVector *y, ///< y locations at which to evaluate 389 const psVector *z ///< z locations at which to evaluate 390 ); 383 391 384 392
Note:
See TracChangeset
for help on using the changeset viewer.
