Changeset 4970 for trunk/psLib/src/math
- Timestamp:
- Sep 7, 2005, 2:07:59 PM (21 years ago)
- Location:
- trunk/psLib/src/math
- Files:
-
- 2 edited
-
psPolynomial.c (modified) (2 diffs)
-
psSpline.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r4969 r4970 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.11 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-08 00:0 2:48$9 * @version $Revision: 1.118 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-08 00:07:59 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 82 82 { 83 83 return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial4DFree ); 84 }85 86 bool psMemCheckSpline1D(psPtr ptr)87 {88 return ( psMemGetDeallocator(ptr) == (psFreeFunc)spline1DFree );89 84 } 90 85 -
trunk/psLib/src/math/psSpline.c
r4969 r4970 7 7 * splines. 8 8 * 9 * @version $Revision: 1.12 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-09-08 00:0 2:48$9 * @version $Revision: 1.121 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-09-08 00:07:59 $ 11 11 * 12 12 * … … 270 270 XXX: Is there a psLib function for this? 271 271 *****************************************************************************/ 272 psVector *PsVectorDup (psVector *in)272 psVector *PsVectorDup2(psVector *in) 273 273 { 274 274 psVector *out = psVectorAlloc(in->n, in->type.type); … … 326 326 } 327 327 } 328 tmpSpline->knots = PsVectorDup ((psVector *) bounds);328 tmpSpline->knots = PsVectorDup2((psVector *) bounds); 329 329 330 330 psMemSetDeallocator(tmpSpline, (psFreeFunc)spline1DFree);
Note:
See TracChangeset
for help on using the changeset viewer.
