~ubuntu-branches/ubuntu/utopic/blitz++/utopic

« back to all changes in this revision

Viewing changes to doc/arrays-storage.texi

  • Committer: Package Import Robot
  • Author(s): Christophe Trophime
  • Date: 2012-07-06 09:15:30 UTC
  • mfrom: (11.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120706091530-vzrb8zf0vpbf8tp9
Tags: 1:0.10-1
* New upstream release
  Closes: #679407
* debian/rules:
  - update for new release
  - add override_dh_auto_test target
  - regenerate configure and Makefile.am
* debian/control:
  - add libtool, automake to BuildDepends
* debian/libblitz-doc.install
  - modify path for html files
* remove uneeded patches
* add examples.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
@node Array storage
 
2
@node Array storage, , Array I/O, Arrays
3
3
@section Array storage orders
4
4
@cindex Array storage formats
5
5
@cindex storage of arrays
96
96
constructor to use a storage format appropriate for two-dimensional Fortran
97
97
arrays (base one, column major ordering).
98
98
 
99
 
A similar object, @code{ColumnMajor<N>}, tells the @code{Array} constructor
 
99
A similar object, @code{ColumnMajorArray<N>}, tells the @code{Array} constructor
100
100
to use column major ordering, with base zero:
101
101
 
102
102
@example
103
 
Array<int,2> B(3, 3, ColumnMajor<2>());
 
103
Array<int,2> B(3, 3, ColumnMajorArray<2>());
104
104
@end example
105
105
 
106
106
This creates a 3x3 array with indices i=0..2 and j=0..2.