(&self)
| 243 | /// However, dimensions of length 0 are possible and might need special attention. |
| 244 | #[inline] |
| 245 | pub fn shape(&self) -> &[usize] { |
| 246 | unsafe { slice::from_raw_parts(self.0.shape as *const usize, self.0.ndim as usize) } |
| 247 | } |
| 248 | |
| 249 | /// Returns an array that holds, for each dimension, the number of bytes to skip to get to the next element in the dimension. |
| 250 | /// |