If set, the array owns the data (will be freed when the array is deleted)
| 968 | |
| 969 | /// If set, the array owns the data (will be freed when the array is deleted) |
| 970 | bool owndata() const { |
| 971 | return detail::check_flags(m_ptr, detail::npy_api::NPY_ARRAY_OWNDATA_); |
| 972 | } |
| 973 | |
| 974 | /// Pointer to the contained data. If index is not provided, points to the |
| 975 | /// beginning of the buffer. May throw if the index would lead to out of bounds access. |