(&self, is_fortran: bool)
| 1151 | #[deprecated(since = "0.26.0", note = "use `cast_array` instead")] |
| 1152 | #[inline] |
| 1153 | fn cast<U: Element>(&self, is_fortran: bool) -> PyResult<Bound<'py, PyArray<U, D>>> |
| 1154 | where |
| 1155 | T: Element, |
| 1156 | { |
| 1157 | self.cast_array(is_fortran) |
| 1158 | } |
| 1159 | |
| 1160 | /// Cast the `PyArray<T>` to `PyArray<U>`, by allocating a new array. |
| 1161 | /// |
no test coverage detected