storage.cpp | storage.cpp | |||
---|---|---|---|---|
/************************************************************************** *** | /************************************************************************** *** | |||
* storage.cpp Blitz++ Array custom storage orders example | * storage.cpp Blitz++ Array custom storage orders example | |||
* | ************************************************************************** | |||
* $Id: storage.cpp,v 1.3 2002/07/02 19:49:02 jcumming Exp $ | ***/ | |||
* | ||||
* $Log: storage.cpp,v $ | ||||
* Revision 1.3 2002/07/02 19:49:02 jcumming | ||||
* Updated to use new header file names that avoid capitalization. | ||||
* | ||||
* Revision 1.2 2001/01/26 18:30:51 tveldhui | ||||
* More source code reorganization to reduce compile times. | ||||
* | ||||
* Revision 1.1.1.1 2000/06/19 12:26:17 tveldhui | ||||
* Imported sources | ||||
* | ||||
* Revision 1.1 1997/07/16 19:38:23 tveldhui | ||||
* Update: Alpha release 0.2 (Arrays) | ||||
* | ||||
************************************************************************** | ||||
*** | ||||
*/ | ||||
#include <blitz/array.h> | #include <blitz/array.h> | |||
BZ_USING_NAMESPACE(blitz) | BZ_USING_NAMESPACE(blitz) | |||
int main() | int main() | |||
{ | { | |||
// 3x3 C-style row major storage, base zero | // 3x3 C-style row major storage, base zero | |||
Array<int,2> A(3, 3); | Array<int,2> A(3, 3); | |||
// 3x3 column major storage, base zero | // 3x3 column major storage, base zero | |||
End of changes. 1 change blocks. | ||||
19 lines changed or deleted | 2 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |