Changeset 2411 for trunk/psLib/src/math/psSpline.c
- Timestamp:
- Nov 23, 2004, 2:05:54 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.c
r2406 r2411 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.6 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-11-2 3 19:35:30$9 * @version $Revision: 1.67 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-11-24 00:05:54 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 825 825 *****************************************************************************/ 826 826 #define FUNC_MACRO_FULL_INTERPOLATE_1D(TYPE) \ 827 static float fullInterpolate1D##TYPE( float*domain, \828 float*range, \827 static float fullInterpolate1D##TYPE(ps##TYPE *domain, \ 828 ps##TYPE *range, \ 829 829 psS32 n, \ 830 floatx) \830 ps##TYPE x) \ 831 831 { \ 832 832 \ … … 875 875 } \ 876 876 877 /* 877 878 FUNC_MACRO_FULL_INTERPOLATE_1D(U8) 878 879 FUNC_MACRO_FULL_INTERPOLATE_1D(U16) … … 883 884 FUNC_MACRO_FULL_INTERPOLATE_1D(S32) 884 885 FUNC_MACRO_FULL_INTERPOLATE_1D(S64) 886 FUNC_MACRO_FULL_INTERPOLATE_1D(F64) 887 */ 885 888 FUNC_MACRO_FULL_INTERPOLATE_1D(F32) 886 FUNC_MACRO_FULL_INTERPOLATE_1D(F64) 889 887 890 888 891 /***************************************************************************** … … 1956 1959 { 1957 1960 PS_PTR_CHECK_TYPE_EQUAL(x, bins, -3); 1961 char* strType; 1958 1962 1959 1963 switch (x->type.type) { … … 1978 1982 case PS_TYPE_F64: 1979 1983 return(vectorBinDisectF64(bins->data.F64, bins->n, x->data.F64)); 1980 } 1981 1982 char* strType; 1983 PS_TYPE_NAME(strType,x->type.type); 1984 psError(PS_ERR_BAD_PARAMETER_TYPE, 1985 PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED, 1986 strType); 1984 case PS_TYPE_C32: 1985 PS_TYPE_NAME(strType,x->type.type); 1986 psError(PS_ERR_BAD_PARAMETER_TYPE, 1987 PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED, 1988 strType); 1989 case PS_TYPE_C64: 1990 PS_TYPE_NAME(strType,x->type.type); 1991 psError(PS_ERR_BAD_PARAMETER_TYPE, 1992 PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED, 1993 strType); 1994 case PS_TYPE_PTR: 1995 PS_TYPE_NAME(strType,x->type.type); 1996 psError(PS_ERR_BAD_PARAMETER_TYPE, 1997 PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED, 1998 strType); 1999 } 1987 2000 return(-3); 1988 2001 }
Note:
See TracChangeset
for help on using the changeset viewer.
