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 b8bd9f1 commit e515d7bCopy full SHA for e515d7b
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 [`.to_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 `to_shape` or `into_shape` instead.", since="0.15.2")]
1641
pub fn reshape<E>(&self, shape: E) -> ArrayBase<S, E::Dim>
1642
where
1643
S: DataShared + DataOwned,
0 commit comments