8#include "MantidCurveFitting/DllConfig.h"
13#define SIZE_T_NULL (UINT64_MAX)
17typedef Eigen::Stride<Eigen::Dynamic, Eigen::Dynamic>
dynamic_stride;
18typedef Eigen::Map<Eigen::MatrixXd, 0, dynamic_stride>
map_type;
29 size_t nElements_2 =
SIZE_T_NULL,
const size_t startElement_1 = 0,
const size_t startElement_2 = 0);
33 const size_t startElement_1 = 0,
const size_t startElement_2 = 0);
37 const size_t startElement_1 = 0,
const size_t startElement_2 = 0);
41 size_t nElements_2 =
SIZE_T_NULL,
const size_t startElement_1 = 0,
const size_t startElement_2 = 0);
45 const size_t startElement_1 = 0,
const size_t startElement_2 = 0);
49 const size_t startElement_1 = 0,
const size_t startElement_2 = 0);
60 inline size_t rows()
const {
return m_view.rows(); }
61 inline size_t cols()
const {
return m_view.cols(); };
62 inline size_t outerStride()
const {
return m_view.outerStride(); }
63 inline size_t innerStride()
const {
return m_view.innerStride(); }
69 void initialiseMatrix(
const size_t nTotalRows,
const size_t nTotalCols,
size_t &nElements_1,
size_t &nElements_2) {
71 nElements_1 = nTotalRows;
73 nElements_2 = nTotalCols;
77 bool m_isConst =
false;
void initialiseMatrix(const size_t nTotalRows, const size_t nTotalCols, size_t &nElements_1, size_t &nElements_2)
size_t innerStride() const
map_type matrix_copy() const
const map_type matrix_inspector() const
size_t outerStride() const
Eigen::Map< Eigen::MatrixXd, 0, dynamic_stride > map_type
Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > dynamic_stride
Eigen::Map< const Eigen::MatrixXd, 0, dynamic_stride > const_map_type