11#include <util/containers/Matrix.h>
27 template <
typename Data,
int M,
int N>
63 template <
class Archive>
64 void serialize(Archive& ar,
const unsigned int version);
69 Data fixedArray_[M*N];
76 template <
typename Data,
int M,
int N>
88 template <
typename Data,
int M,
int N>
95 for (
int i = 0; i < M*N; ++i) {
96 fixedArray_[i] = other.fixedArray_[i];
103 template <
typename Data,
int M,
int N>
110 template <
typename Data,
int M,
int N>
115 if (
this == &other)
return *
this;
118 for (
int i = 0; i < M*N; ++i) {
119 fixedArray_[i] = other.fixedArray_[i];
128 template <
class Data,
int M,
int N>
129 template <
class Archive>
133 for (
int i = 0; i < M*N; ++i) {
FMatrix< Data, M, N > & operator=(FMatrix< Data, M, N > const &other)
Assignment.
FMatrix(FMatrix< Data, M, N > const &other)
Copy constructor.
void serialize(Archive &ar, const unsigned int version)
Serialize an FMatrix to/from an Archive.
FMatrix()
Default constructor.
Two-dimensional array container template (abstract).
Data * data_
Pointer to 1D C array of all elements.
int capacity2_
Number of columns (range of first index).
int capacity1_
Number of rows (range of first index).
Utility classes for scientific computation.