MCPcopy Create free account
hub / github.com/pybind/pybind11 / strides

Method strides

include/pybind11/numpy.h:1166–1166  ·  view source on GitHub ↗

Strides of the array

Source from the content-addressed store, hash-verified

1164
1165 /// Strides of the array
1166 const ssize_t *strides() const { return detail::array_proxy(m_ptr)->strides; }
1167
1168#ifdef PYBIND11_HAS_SPAN
1169 /// Strides of the array as a span

Callers 4

test_array_attributesFunction · 0.80
test_shape_strides_spanFunction · 0.80
TEST_SUBMODULEFunction · 0.80
conformableMethod · 0.80

Calls 1

array_proxyFunction · 0.85

Tested by 3

test_array_attributesFunction · 0.64
test_shape_strides_spanFunction · 0.64
TEST_SUBMODULEFunction · 0.64