Changeset 2847
- Timestamp:
- Dec 29, 2004, 12:15:51 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 9 edited
-
Makefile.Globals (modified) (2 diffs)
-
dataManip/psConstants.h (modified) (2 diffs)
-
dataManip/psFunctions.c (modified) (4 diffs)
-
dataManip/psFunctions.h (modified) (2 diffs)
-
math/psConstants.h (modified) (2 diffs)
-
math/psPolynomial.c (modified) (4 diffs)
-
math/psPolynomial.h (modified) (2 diffs)
-
math/psSpline.c (modified) (4 diffs)
-
math/psSpline.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile.Globals
r2710 r2847 6 6 ## Assumptions: Variable "prefix" already defined 7 7 ## 8 ## $Revision: 1.3 5$ $Name: not supported by cvs2svn $9 ## $Date: 2004-12- 14 00:13:11$8 ## $Revision: 1.36 $ $Name: not supported by cvs2svn $ 9 ## $Date: 2004-12-29 22:15:50 $ 10 10 ## 11 11 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 55 55 SLA_LINK := $(shell $(sladir)/bin/sla_link) 56 56 XML2_LINK := $(shell $(xml2config) --libs) 57 #XML2_CFLAGS = -I/usr/local/include/libxml258 57 59 58 XML2_CFLAGS := $(shell $(xml2config) --cflags) 59 XML2_CFLAGS = -I/usr/local/include/libxml2 60 60 61 61 # Set initial value for CFLAGS which will include all OS common flags for GCC -
trunk/psLib/src/dataManip/psConstants.h
r2811 r2847 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.5 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-12-2 3 23:16:19$8 * @version $Revision: 1.51 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-29 22:15:51 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 245 245 } \ 246 246 247 #define PS_VECTOR_PRINT (NAME) \247 #define PS_VECTOR_PRINT_F32(NAME) \ 248 248 for (int my_i=0;my_i<NAME->n;my_i++) { \ 249 249 printf("%s->data.F32[%d] is %f\n", #NAME, my_i, NAME->data.F32[my_i]); \ -
trunk/psLib/src/dataManip/psFunctions.c
r2791 r2847 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.7 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-12-2 2 23:09:40$9 * @version $Revision: 1.78 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-12-29 22:15:51 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 2142 2142 *****************************************************************************/ 2143 2143 psF32 psSpline1DEval( 2144 psF32 x,2145 const psSpline1D *spline2144 const psSpline1D *spline, 2145 psF32 x 2146 2146 ) 2147 2147 { … … 2191 2191 for (i=0;i<x->n;i++) { 2192 2192 tmpVector->data.F32[i] = psSpline1DEval( 2193 x->data.F32[i],2194 spline2193 spline, 2194 x->data.F32[i] 2195 2195 ); 2196 2196 } … … 2198 2198 for (i=0;i<x->n;i++) { 2199 2199 tmpVector->data.F32[i] = psSpline1DEval( 2200 (psF32) x->data.F64[i],2201 spline2200 spline, 2201 (psF32) x->data.F64[i] 2202 2202 ); 2203 2203 } -
trunk/psLib/src/dataManip/psFunctions.h
r2788 r2847 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-12-2 2 05:09:32$14 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-12-29 22:15:51 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 410 410 411 411 psF32 psSpline1DEval( 412 psF32 x,413 const psSpline1D *spline412 const psSpline1D *spline, 413 psF32 x 414 414 ); 415 415 -
trunk/psLib/src/math/psConstants.h
r2811 r2847 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.5 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-12-2 3 23:16:19$8 * @version $Revision: 1.51 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-29 22:15:51 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 245 245 } \ 246 246 247 #define PS_VECTOR_PRINT (NAME) \247 #define PS_VECTOR_PRINT_F32(NAME) \ 248 248 for (int my_i=0;my_i<NAME->n;my_i++) { \ 249 249 printf("%s->data.F32[%d] is %f\n", #NAME, my_i, NAME->data.F32[my_i]); \ -
trunk/psLib/src/math/psPolynomial.c
r2791 r2847 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.7 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-12-2 2 23:09:40$9 * @version $Revision: 1.78 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-12-29 22:15:51 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 2142 2142 *****************************************************************************/ 2143 2143 psF32 psSpline1DEval( 2144 psF32 x,2145 const psSpline1D *spline2144 const psSpline1D *spline, 2145 psF32 x 2146 2146 ) 2147 2147 { … … 2191 2191 for (i=0;i<x->n;i++) { 2192 2192 tmpVector->data.F32[i] = psSpline1DEval( 2193 x->data.F32[i],2194 spline2193 spline, 2194 x->data.F32[i] 2195 2195 ); 2196 2196 } … … 2198 2198 for (i=0;i<x->n;i++) { 2199 2199 tmpVector->data.F32[i] = psSpline1DEval( 2200 (psF32) x->data.F64[i],2201 spline2200 spline, 2201 (psF32) x->data.F64[i] 2202 2202 ); 2203 2203 } -
trunk/psLib/src/math/psPolynomial.h
r2788 r2847 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-12-2 2 05:09:32$14 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-12-29 22:15:51 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 410 410 411 411 psF32 psSpline1DEval( 412 psF32 x,413 const psSpline1D *spline412 const psSpline1D *spline, 413 psF32 x 414 414 ); 415 415 -
trunk/psLib/src/math/psSpline.c
r2791 r2847 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.7 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-12-2 2 23:09:40$9 * @version $Revision: 1.78 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-12-29 22:15:51 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 2142 2142 *****************************************************************************/ 2143 2143 psF32 psSpline1DEval( 2144 psF32 x,2145 const psSpline1D *spline2144 const psSpline1D *spline, 2145 psF32 x 2146 2146 ) 2147 2147 { … … 2191 2191 for (i=0;i<x->n;i++) { 2192 2192 tmpVector->data.F32[i] = psSpline1DEval( 2193 x->data.F32[i],2194 spline2193 spline, 2194 x->data.F32[i] 2195 2195 ); 2196 2196 } … … 2198 2198 for (i=0;i<x->n;i++) { 2199 2199 tmpVector->data.F32[i] = psSpline1DEval( 2200 (psF32) x->data.F64[i],2201 spline2200 spline, 2201 (psF32) x->data.F64[i] 2202 2202 ); 2203 2203 } -
trunk/psLib/src/math/psSpline.h
r2788 r2847 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-12-2 2 05:09:32$14 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-12-29 22:15:51 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 410 410 411 411 psF32 psSpline1DEval( 412 psF32 x,413 const psSpline1D *spline412 const psSpline1D *spline, 413 psF32 x 414 414 ); 415 415
Note:
See TracChangeset
for help on using the changeset viewer.
