We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb12613 commit fa9fb4aCopy full SHA for fa9fb4a
src/impl_methods.rs
@@ -1933,6 +1933,9 @@ where
1933
///
1934
/// **Panics** if shapes are incompatible.
1935
1936
+ /// *This method is obsolete, because it is inflexible in how logical order
1937
+ /// of the array is handled. See [`.to_shape()`].*
1938
+ ///
1939
/// ```
1940
/// use ndarray::{rcarr1, rcarr2};
1941
@@ -1942,6 +1945,7 @@ where
1942
1945
/// [3., 4.]])
1943
1946
/// );
1944
1947
1948
+ #[deprecated(note="Obsolete, use `to_shape` or `into_shape` instead.", since="0.15.2")]
1949
pub fn reshape<E>(&self, shape: E) -> ArrayBase<S, E::Dim>
1950
where
1951
S: DataShared + DataOwned,
0 commit comments