storage.cpp | storage.cpp | |||
---|---|---|---|---|
/************************************************************************** | ||||
*** | ||||
* storage.cpp Blitz++ Array custom storage orders example | ||||
* | ||||
* $Id: storage.cpp,v 1.1 2000/06/19 13:03:29 tveldhui Exp $ | ||||
* | ||||
* $Log: storage.cpp,v $ | ||||
* Revision 1.1 2000/06/19 13:03:29 tveldhui | ||||
* Initial source check-in; added files not usually released in the | ||||
* distribution. | ||||
* | ||||
* 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. | ||||
17 lines changed or deleted | 0 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/ |