11 float data[9] = {0, 2, 3,
19 float data_check_rowslice[6] = {
28 float data_check_colslice[6] = {
38 float data_check_bothslice[4] = {
52 A.
slice<2, 2>(1, 1) = C;
54 float data_2_check[9] = {
72 E.
slice<2,1>(0,0) = F;
74 float data_3_check[3] = {9, 11, 3};
82 float data_4_check[5] = {3, 11, 9, 0, 0};
107 float top_right_check[2] = {3,6};
113 const float data_check[9] = {0, 2, 0,
124 TEST(v5.
xy().longerThan(4.99
f));
125 TEST(!v5.
xy().longerThan(5.
f));
const Slice< Type, M, 1, M, N > col(size_t j) const
const Slice< Type, P, Q, M, N > slice(size_t x0, size_t y0) const
bool isEqual(const Matrix< Type, M, N > &x, const Matrix< Type, M, N > &y, const Type eps=1e-4f)
Vector< float, 6 > f(float t, const Matrix< float, 6, 1 > &, const Matrix< float, 3, 1 > &)
const Slice< Type, 1, N, M, N > row(size_t i) const
const Slice< Type, 2, 1, 3, 1 > xy() const
bool isEqualF(const Type x, const Type y, const Type eps=1e-4f)
Compare if two floating point numbers are equal.