#include <CNCL/Array3.h >
CN_ARRAY3
CNObject
CNArray3Char, CNArray3Double, CNArray3Float, CNArray3Int, CNArray3Long, CNArray3Object
CNArray, CNArray2
CNArray3
is the base class of the CNArray3
<type>
classes. It defines the common interface.
Constructors:
CNArray3();
CNArray3(Param *param);
CNArray3(size_t r, size_t c, size_t d);
CNArray3
. The number of rows is r
, the number
of cols c
, and the depth is set to d
.
In addition to the member functions required by CNCL, CNArray3
provides:
size_t get_rows() const;
size_t rows() const;
size_t get_cols() const;
size_t cols() const;
size_t get_depth() const;
size_t depth() const;
virtual void size(size_t r, size_t c, size_t d) = 0;
void set_size(size_t r, size_t c, size_t d);
Go to the first, previous, next, last section, table of contents.