11#include <util/containers/Matrix.h>
27 template <
typename Data,
int M,
int N>
59 template <
class Archive>
60 void serialize(Archive& ar,
const unsigned int version);
65 Data fixedArray_[M*N];
76 template <
typename Data,
int M,
int N>
91 template <
typename Data,
int M,
int N>
98 for (
int i = 0; i < M*N; ++i) {
99 fixedArray_[i] = other.fixedArray_[i];
106 template <
typename Data,
int M,
int N>
113 template <
typename Data,
int M,
int N>
118 if (
this == &other)
return *
this;
121 for (
int i = 0; i < M*N; ++i) {
122 fixedArray_[i] = other.fixedArray_[i];
131 template <
typename Data,
int M,
int N>
132 template <
class Archive>
136 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.
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.