Changeset 3097 for trunk/psLib/src/dataManip/psFunctions.c
- Timestamp:
- Jan 26, 2005, 10:47:41 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psFunctions.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psFunctions.c
r3096 r3097 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.8 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-01-26 20:4 1:04$9 * @version $Revision: 1.85 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-01-26 20:47:41 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1841 1841 1842 1842 XXX: Ensure that domain[i+1] != domain[i] 1843 1844 XXX: What should be the defualty type for knots be? psF32 is assumed. 1843 1845 *****************************************************************************/ 1844 1846 psSpline1D *psSpline1DAlloc(psS32 numSplines, … … 1884 1886 1885 1887 /***************************************************************************** 1888 XXX: What should be the defualty type for knots be? psF32 is assumed. 1886 1889 *****************************************************************************/ 1887 1890 psSpline1D *psSpline1DAllocGeneric(const psVector *bounds, … … 2142 2145 XXX: The spline eval functions require input and output to be F32. however 2143 2146 the spline fit functions require F32 and F64. 2147 2148 XXX: This only works if spline0>knots if psF32. Must add support for psU32 and 2149 psF64. 2144 2150 *****************************************************************************/ 2145 2151 psF32 psSpline1DEval( … … 2150 2156 PS_PTR_CHECK_NULL(spline, NAN); 2151 2157 PS_INT_CHECK_NON_NEGATIVE(spline->n, NAN); 2158 PS_VECTOR_CHECK_TYPE(spline->knots, PS_TYPE_F32, NAN); 2152 2159 2153 2160 psS32 binNum; … … 2186 2193 PS_VECTOR_CHECK_NULL(x, NULL); 2187 2194 PS_VECTOR_CHECK_TYPE_F32_OR_F64(x, NULL); 2195 PS_VECTOR_CHECK_TYPE(spline->knots, PS_TYPE_F32, NULL); 2188 2196 2189 2197 psS32 i;
Note:
See TracChangeset
for help on using the changeset viewer.
