Return a new view with all of the dimensions of length 1 removed
| 1042 | |
| 1043 | /// Return a new view with all of the dimensions of length 1 removed |
| 1044 | array squeeze() { |
| 1045 | auto &api = detail::npy_api::get(); |
| 1046 | return reinterpret_steal<array>(api.PyArray_Squeeze_(m_ptr)); |
| 1047 | } |
| 1048 | |
| 1049 | /// Resize array to given shape |
| 1050 | /// If refcheck is true and more that one reference exist to this array |
no outgoing calls
no test coverage detected