Changeset 4969
- Timestamp:
- Sep 7, 2005, 2:02:48 PM (21 years ago)
- Location:
- trunk/psLib/src/math
- Files:
-
- 4 edited
-
psPolynomial.c (modified) (2 diffs)
-
psPolynomial.h (modified) (2 diffs)
-
psSpline.c (modified) (2 diffs)
-
psSpline.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r4958 r4969 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.11 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-0 7 21:35:50$9 * @version $Revision: 1.117 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-08 00:02:48 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 63 63 /* FUNCTION IMPLEMENTATION - LOCAL */ 64 64 /*****************************************************************************/ 65 66 bool psMemCheckPolynomial1D(psPtr ptr) 67 { 68 return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial1DFree ); 69 } 70 71 bool psMemCheckPolynomial2D(psPtr ptr) 72 { 73 return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial2DFree ); 74 } 75 76 bool psMemCheckPolynomial3D(psPtr ptr) 77 { 78 return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial3DFree ); 79 } 80 81 bool psMemCheckPolynomial4D(psPtr ptr) 82 { 83 return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial4DFree ); 84 } 85 86 bool psMemCheckSpline1D(psPtr ptr) 87 { 88 return ( psMemGetDeallocator(ptr) == (psFreeFunc)spline1DFree ); 89 } 65 90 66 91 static void polynomial1DFree(psPolynomial1D* poly) -
trunk/psLib/src/math/psPolynomial.h
r4963 r4969 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.5 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-09-0 7 23:46:04$13 * @version $Revision: 1.55 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-09-08 00:02:48 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 246 246 ); 247 247 248 /** Checks the type of a particular pointer. 249 * 250 * Uses the appropriate deallocation function in psMemBlock to check the ptr datatype. 251 * 252 * @return bool: True if the pointer matches a psPolynomial1D structure, false otherwise. 253 */ 254 bool psMemCheckPolynomial1D( 255 psPtr ptr ///< the pointer whose type to check 256 ); 257 258 /** Checks the type of a particular pointer. 259 * 260 * Uses the appropriate deallocation function in psMemBlock to check the ptr datatype. 261 * 262 * @return bool: True if the pointer matches a psPolynomial2D structure, false otherwise. 263 */ 264 bool psMemCheckPolynomial2D( 265 psPtr ptr ///< the pointer whose type to check 266 ); 267 268 /** Checks the type of a particular pointer. 269 * 270 * Uses the appropriate deallocation function in psMemBlock to check the ptr datatype. 271 * 272 * @return bool: True if the pointer matches a psPolynomial3D structure, false otherwise. 273 */ 274 bool psMemCheckPolynomial3D( 275 psPtr ptr ///< the pointer whose type to check 276 ); 277 278 /** Checks the type of a particular pointer. 279 * 280 * Uses the appropriate deallocation function in psMemBlock to check the ptr datatype. 281 * 282 * @return bool: True if the pointer matches a psPolynomial4D structure, false otherwise. 283 */ 284 bool psMemCheckPolynomial4D( 285 psPtr ptr ///< the pointer whose type to check 286 ); 287 248 288 /** \} */ // End of MathGroup Functions 249 289 -
trunk/psLib/src/math/psSpline.c
r4968 r4969 7 7 * splines. 8 8 * 9 * @version $Revision: 1.1 19$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-0 7 23:53:00$9 * @version $Revision: 1.120 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-08 00:02:48 $ 11 11 * 12 12 * … … 61 61 /* FUNCTION IMPLEMENTATION - LOCAL */ 62 62 /*****************************************************************************/ 63 64 bool psMemCheckSpline1D(psPtr ptr) 65 { 66 return ( psMemGetDeallocator(ptr) == (psFreeFunc)spline1DFree ); 67 } 63 68 64 69 static void spline1DFree(psSpline1D *tmpSpline) -
trunk/psLib/src/math/psSpline.h
r4958 r4969 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.5 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-09-0 7 21:35:50$12 * @version $Revision: 1.54 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-09-08 00:02:48 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 108 108 ); 109 109 110 /** Checks the type of a particular pointer. 111 * 112 * Uses the appropriate deallocation function in psMemBlock to check the ptr datatype. 113 * 114 * @return bool: True if the pointer matches a psSpline1D structure, false otherwise. 115 */ 116 bool psMemCheckSpline1D( 117 psPtr ptr ///< the pointer whose type to check 118 ); 119 110 120 /** \} */ // End of MathGroup Functions 111 121
Note:
See TracChangeset
for help on using the changeset viewer.
