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 ac970a1 commit 980e7c6Copy full SHA for 980e7c6
src/impl_methods.rs
@@ -1625,6 +1625,9 @@ where
1625
///
1626
/// **Panics** if shapes are incompatible.
1627
1628
+ /// *This method is obsolete, because it is inflexible in how logical order
1629
+ /// of the array is handled. See [`ArrayBase::as_shape`].*
1630
+ ///
1631
/// ```
1632
/// use ndarray::{rcarr1, rcarr2};
1633
@@ -1634,6 +1637,7 @@ where
1634
1637
/// [3., 4.]])
1635
1638
/// );
1636
1639
1640
+ #[deprecated(note="Obsolete, use `as_shape` or `into_shape` instead.", since="0.15.0")]
1641
pub fn reshape<E>(&self, shape: E) -> ArrayBase<S, E::Dim>
1642
where
1643
S: DataShared + DataOwned,
0 commit comments