14 template <
typename T,
int Rows,
int Cols>
23 DenseStorageType
reference(size, rows, cols);
24 T* raw_reference = reference.data();
26 raw_reference[
i] = static_cast<T>(
i);
28 DenseStorageType copied_reference(reference);
29 const T* raw_copied_reference = copied_reference.data();
34 template <
typename T,
int Rows,
int Cols>
43 DenseStorageType
reference(size, rows, cols);
44 T* raw_reference = reference.data();
46 raw_reference[
i] = static_cast<T>(
i);
48 DenseStorageType copied_reference;
49 copied_reference = reference;
50 const T* raw_copied_reference = copied_reference.data();
57 dense_storage_copy<int,Dynamic,Dynamic>();
58 dense_storage_copy<int,Dynamic,3>();
59 dense_storage_copy<int,4,Dynamic>();
60 dense_storage_copy<int,4,3>();
62 dense_storage_copy<float,Dynamic,Dynamic>();
63 dense_storage_copy<float,Dynamic,3>();
64 dense_storage_copy<float,4,Dynamic>();
65 dense_storage_copy<float,4,3>();
67 dense_storage_assignment<int,Dynamic,Dynamic>();
68 dense_storage_assignment<int,Dynamic,3>();
69 dense_storage_assignment<int,4,Dynamic>();
70 dense_storage_assignment<int,4,3>();
72 dense_storage_assignment<float,Dynamic,Dynamic>();
73 dense_storage_assignment<float,Dynamic,3>();
74 dense_storage_assignment<float,4,Dynamic>();
75 dense_storage_assignment<float,4,3>();
#define VERIFY_IS_EQUAL(a, b)
void dense_storage_assignment()
void dense_storage_copy()
void test_dense_storage()