blitz
Version 1.0.2
Loading...
Searching...
No Matches
ranks.h
Go to the documentation of this file.
1
#ifndef BZ_RANKS_H
2
#define BZ_RANKS_H
3
4
namespace
blitz
{
5
6
/*
7
* Rank numbers start with zero, which may be confusing to users coming
8
* from Fortran. To make code more readable, the following constants
9
* may help. Example: instead of
10
*
11
* int firstRankExtent = A.extent(0);
12
*
13
* One can write:
14
*
15
* int firstRankExtent = A.extent(firstRank);
16
*/
17
18
const
int
firstRank
= 0;
19
const
int
secondRank
= 1;
20
const
int
thirdRank
= 2;
21
const
int
fourthRank
= 3;
22
const
int
fifthRank
= 4;
23
const
int
sixthRank
= 5;
24
const
int
seventhRank
= 6;
25
const
int
eighthRank
= 7;
26
const
int
ninthRank
= 8;
27
const
int
tenthRank
= 9;
28
const
int
eleventhRank
= 10;
29
30
const
int
firstDim
= 0;
31
const
int
secondDim
= 1;
32
const
int
thirdDim
= 2;
33
const
int
fourthDim
= 3;
34
const
int
fifthDim
= 4;
35
const
int
sixthDim
= 5;
36
const
int
seventhDim
= 6;
37
const
int
eighthDim
= 7;
38
const
int
ninthDim
= 8;
39
const
int
tenthDim
= 9;
40
const
int
eleventhDim
= 10;
41
42
}
43
44
#endif
blitz
Definition
array-impl.h:66
blitz::secondRank
const int secondRank
Definition
ranks.h:19
blitz::ninthRank
const int ninthRank
Definition
ranks.h:26
blitz::tenthRank
const int tenthRank
Definition
ranks.h:27
blitz::tenthDim
const int tenthDim
Definition
ranks.h:39
blitz::secondDim
const int secondDim
Definition
ranks.h:31
blitz::seventhRank
const int seventhRank
Definition
ranks.h:24
blitz::fifthDim
const int fifthDim
Definition
ranks.h:34
blitz::eighthDim
const int eighthDim
Definition
ranks.h:37
blitz::ninthDim
const int ninthDim
Definition
ranks.h:38
blitz::eighthRank
const int eighthRank
Definition
ranks.h:25
blitz::fourthDim
const int fourthDim
Definition
ranks.h:33
blitz::fifthRank
const int fifthRank
Definition
ranks.h:22
blitz::thirdDim
const int thirdDim
Definition
ranks.h:32
blitz::firstRank
const int firstRank
Definition
ranks.h:18
blitz::eleventhDim
const int eleventhDim
Definition
ranks.h:40
blitz::firstDim
const int firstDim
Definition
ranks.h:30
blitz::fourthRank
const int fourthRank
Definition
ranks.h:21
blitz::sixthDim
const int sixthDim
Definition
ranks.h:35
blitz::seventhDim
const int seventhDim
Definition
ranks.h:36
blitz::thirdRank
const int thirdRank
Definition
ranks.h:20
blitz::sixthRank
const int sixthRank
Definition
ranks.h:23
blitz::eleventhRank
const int eleventhRank
Definition
ranks.h:28
blitz
ranks.h
Generated by
1.12.0