|
| Size () |
| the default constructor More...
|
|
template<typename MatrixDerived > |
| Size (const Eigen::MatrixBase< MatrixDerived > &matrix) |
| a constructor to initialize width and height with a Eigen-matrix of correct dimension More...
|
|
const Base & | base () const |
|
Base & | base () |
|
const Scalar & | coeff (int index) const |
|
const Scalar & | coeff (int row, int col) const |
|
Scalar & | coeffRef (int index) |
|
Scalar & | coeffRef (int row, int col) |
|
int | cols () const |
|
Scalar * | data () |
|
const Scalar * | data () const |
|
PacketScalar | packet (int index) const |
|
PacketScalar | packet (int row, int col) const |
|
void | resize (int size) |
|
void | resize (int rows, int cols) |
|
int | rows () const |
|
Matrix & | setConstant (int rows, int cols, const Scalar &value) |
|
Matrix & | setConstant (int size, const Scalar &value) |
|
Matrix & | setIdentity (int rows, int cols) |
|
Matrix & | setOnes (int rows, int cols) |
|
Matrix & | setOnes (int size) |
|
Matrix & | setRandom (int rows, int cols) |
|
Matrix & | setRandom (int size) |
|
Matrix & | setZero (int rows, int cols) |
|
Matrix & | setZero (int size) |
|
int | stride (void) const |
|
void | swap (const MatrixBase< OtherDerived > &other) |
|
void | writePacket (int index, const PacketScalar &x) |
|
void | writePacket (int row, int col, const PacketScalar &x) |
|
|
static UnalignedMapType | Map (Scalar *data, int rows, int cols) |
|
static const UnalignedMapType | Map (const Scalar *data, int rows, int cols) |
|
static UnalignedMapType | Map (Scalar *data, int size) |
|
static const UnalignedMapType | Map (const Scalar *data, int size) |
|
static UnalignedMapType | Map (Scalar *data) |
|
static const UnalignedMapType | Map (const Scalar *data) |
|
static AlignedMapType | MapAligned (Scalar *data, int rows, int cols) |
|
static const AlignedMapType | MapAligned (const Scalar *data, int rows, int cols) |
|
static AlignedMapType | MapAligned (Scalar *data, int size) |
|
static const AlignedMapType | MapAligned (const Scalar *data, int size) |
|
static AlignedMapType | MapAligned (Scalar *data) |
|
static const AlignedMapType | MapAligned (const Scalar *data) |
|
template<typename T, int D>
class mira::Size< T, D >
Size class for defining sizes with different data types.
Here the class has two template parameters. T for the data type like float or int, and the second for the number of dimensions of the size.