Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/numeric/ublas/bench4/bench41.cpp @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 2.0 KB
Line 
1//
2//  Copyright (c) 2000-2002
3//  Joerg Walter, Mathias Koch
4//
5//  Permission to use, copy, modify, distribute and sell this software
6//  and its documentation for any purpose is hereby granted without fee,
7//  provided that the above copyright notice appear in all copies and
8//  that both that copyright notice and this permission notice appear
9//  in supporting documentation.  The authors make no representations
10//  about the suitability of this software for any purpose.
11//  It is provided "as is" without express or implied warranty.
12//
13//  The authors gratefully acknowledge the support of
14//  GeNeSys mbH & Co. KG in producing this work.
15//
16
17#include <boost/numeric/interval.hpp>
18#include <boost/numeric/interval/io.hpp>
19#include "../bench1/bench11.cpp"
20
21
22#ifdef USE_FLOAT
23template struct bench_1<boost::numeric::interval<float>, 3>;
24template struct bench_1<boost::numeric::interval<float>, 10>;
25template struct bench_1<boost::numeric::interval<float>, 30>;
26template struct bench_1<boost::numeric::interval<float>, 100>;
27#endif
28
29#ifdef USE_DOUBLE
30template struct bench_1<boost::numeric::interval<double>, 3>;
31template struct bench_1<boost::numeric::interval<double>, 10>;
32template struct bench_1<boost::numeric::interval<double>, 30>;
33template struct bench_1<boost::numeric::interval<double>, 100>;
34#endif
35
36#ifdef USE_BOOST_COMPLEX
37#ifdef USE_FLOAT
38template struct bench_1<boost::complex<boost::numeric::interval<float> >, 3>;
39template struct bench_1<boost::complex<boost::numeric::interval<float> >, 10>;
40template struct bench_1<boost::complex<boost::numeric::interval<float> >, 30>;
41template struct bench_1<boost::complex<boost::numeric::interval<float> >, 100>;
42#endif
43
44#ifdef USE_DOUBLE
45template struct bench_1<boost::complex<boost::numeric::interval<double> >, 3>;
46template struct bench_1<boost::complex<boost::numeric::interval<double> >, 10>;
47template struct bench_1<boost::complex<boost::numeric::interval<double> >, 30>;
48template struct bench_1<boost::complex<boost::numeric::interval<double> >, 100>;
49#endif
50#endif
Note: See TracBrowser for help on using the repository browser.