1 | /*************************************************************************** |
---|
2 | * blitz/array-old.h Maximal include version of Array<P_numtype, N_rank> |
---|
3 | * Note: see <blitz/array-impl.h> for the class def. |
---|
4 | * |
---|
5 | * $Id: array-old.h,v 1.2 2003/01/14 11:29:18 patricg Exp $ |
---|
6 | * |
---|
7 | * Copyright (C) 1997-2001 Todd Veldhuizen <tveldhui@oonumerics.org> |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * Suggestions: blitz-dev@oonumerics.org |
---|
20 | * Bugs: blitz-bugs@oonumerics.org |
---|
21 | * |
---|
22 | * For more information, please see the Blitz++ Home Page: |
---|
23 | * http://oonumerics.org/blitz/ |
---|
24 | * |
---|
25 | ***************************************************************************/ |
---|
26 | |
---|
27 | #ifndef BZ_ARRAY_OLD_H |
---|
28 | #define BZ_ARRAY_OLD_H |
---|
29 | |
---|
30 | /* |
---|
31 | * <blitz/array.h> used to include most of the Blitz++ library |
---|
32 | * functionality, totally ~ 120000 lines of source code. This |
---|
33 | * made for extremely slow compile times; processing #include <blitz/array.h> |
---|
34 | * took gcc about 25 seconds on a 500 MHz pentium box. |
---|
35 | * |
---|
36 | * Much of this compile time was due to the old vector expression templates |
---|
37 | * implementation. Since this is not really needed for the Array<T,N> |
---|
38 | * class, the headers were redesigned so that: |
---|
39 | * |
---|
40 | * #include <blitz/array-old.h> is the old-style include, pulls in most |
---|
41 | * of Blitz++ including vector e.t. |
---|
42 | * #include <blitz/array.h> pulls in much less of the library, and |
---|
43 | * in particular excludes the vector e.t. code |
---|
44 | * |
---|
45 | * With <blitz/array-old.h>, one gets TinyVector expressions automatically. |
---|
46 | * With <blitz/array.h>, one must now also include <blitz/tinyvec-et.h> |
---|
47 | * to get TinyVector expressions. |
---|
48 | * |
---|
49 | * The implementation of Array<T,N> has been moved to <blitz/array-impl.h>. |
---|
50 | */ |
---|
51 | |
---|
52 | #include <blitz/tinyvec-et.h> |
---|
53 | #include <blitz/array-impl.h> |
---|
54 | |
---|
55 | #endif // BZ_ARRAY_OLD_H |
---|
56 | |
---|