⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 array-old.h

📁 c++经典教材 Blitz++ v0.8
💻 H
字号:
/*************************************************************************** * blitz/array-old.h  Maximal include version of Array<P_numtype, N_rank> *                    Note: see <blitz/array-impl.h> for the class def. * * $Id: array-old.h,v 1.2 2003/01/14 11:29:18 patricg Exp $ * * Copyright (C) 1997-2001 Todd Veldhuizen <tveldhui@oonumerics.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * Suggestions:          blitz-dev@oonumerics.org * Bugs:                 blitz-bugs@oonumerics.org * * For more information, please see the Blitz++ Home Page: *    http://oonumerics.org/blitz/ * ***************************************************************************/#ifndef BZ_ARRAY_OLD_H#define BZ_ARRAY_OLD_H/* * <blitz/array.h> used to include most of the Blitz++ library * functionality, totally ~ 120000 lines of source code.  This * made for extremely slow compile times; processing #include <blitz/array.h> * took gcc about 25 seconds on a 500 MHz pentium box. * * Much of this compile time was due to the old vector expression templates * implementation.  Since this is not really needed for the Array<T,N> * class, the headers were redesigned so that: * * #include <blitz/array-old.h>   is the old-style include, pulls in most *                                of Blitz++ including vector e.t.  * #include <blitz/array.h>       pulls in much less of the library, and *                                in particular excludes the vector e.t. code * * With <blitz/array-old.h>, one gets TinyVector expressions automatically. * With <blitz/array.h>, one must now also include <blitz/tinyvec-et.h>  * to get TinyVector expressions. * * The implementation of Array<T,N> has been moved to <blitz/array-impl.h>. */#include <blitz/tinyvec-et.h>#include <blitz/array-impl.h>#endif // BZ_ARRAY_OLD_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -