Lines Matching defs:stride
77 EigenDStride stride{0, 0}; // Only valid if negativestrides is false!
78 bool negativestrides = false; // If true, do not use stride!
89 stride = {EigenRowMajor ? rstride : cstride /* outer stride */,
90 EigenRowMajor ? cstride : rstride /* inner stride */ };
94 EigenConformable(EigenIndex r, EigenIndex c, EigenIndex stride)
95 : EigenConformable(r, c, r == 1 ? c*stride : stride, c == 1 ? r : r*stride) {}
99 // matching strides, or a dimension size of 1 (in which case the stride value is irrelevant)
102 (props::inner_stride == Eigen::Dynamic || props::inner_stride == stride.inner() ||
104 (props::outer_stride == Eigen::Dynamic || props::outer_stride == stride.outer() ||
163 // is used, we want the (single) numpy stride value.
165 stride = a.strides(0) / static_cast<ssize_t>(sizeof(Scalar));
170 return {rows == 1 ? 1 : n, cols == 1 ? 1 : n, stride};
180 return {1, n, stride};
185 return {n, 1, stride};
200 // satisfied: writeable=True (for a mutable reference), and, depending on the map's stride
434 // compatible with the Ref's stride requirements
466 map.reset(new MapType(data(copy_or_ref), fits.rows, fits.cols, make_stride(fits.stride.outer(), fits.stride.inner())));
493 // it (passing whichever stride is dynamic).