16 bool are_nd(
int n)
const {
return (
bool(
i) +
bool(
j) +
bool(
k)) == n; }
19 int operator[](
int value)
const;
23 bool are_1d()
const {
return are_nd(1); }
24 bool are_2d()
const {
return are_nd(2); }
Definition dimensions.h:10
int k
Extent of dimension 3.
Definition dimensions.h:14
int j
Extent of dimension 2.
Definition dimensions.h:13
int i
Extent of dimension 1.
Definition dimensions.h:12
Includes MATLAB headers for I/O.