@@ -1124,13 +1124,6 @@ where
11241124 Lanes :: new ( self . view ( ) , Axis ( n - 1 ) )
11251125 }
11261126
1127- #[ deprecated( note = "Renamed to .rows()" , since = "0.15.0" ) ]
1128- pub fn genrows ( & self ) -> Lanes < ' _ , A , D :: Smaller >
1129- where S : Data
1130- {
1131- self . rows ( )
1132- }
1133-
11341127 /// Return a producer and iterable that traverses over the *generalized*
11351128 /// rows of the array and yields mutable array views.
11361129 ///
@@ -1145,13 +1138,6 @@ where
11451138 LanesMut :: new ( self . view_mut ( ) , Axis ( n - 1 ) )
11461139 }
11471140
1148- #[ deprecated( note = "Renamed to .rows_mut()" , since = "0.15.0" ) ]
1149- pub fn genrows_mut ( & mut self ) -> LanesMut < ' _ , A , D :: Smaller >
1150- where S : DataMut
1151- {
1152- self . rows_mut ( )
1153- }
1154-
11551141 /// Return a producer and iterable that traverses over the *generalized*
11561142 /// columns of the array. For a 2D array these are the regular columns.
11571143 ///
@@ -1184,17 +1170,6 @@ where
11841170 Lanes :: new ( self . view ( ) , Axis ( 0 ) )
11851171 }
11861172
1187- /// Return a producer and iterable that traverses over the *generalized*
1188- /// columns of the array. For a 2D array these are the regular columns.
1189- ///
1190- /// Renamed to `.columns()`
1191- #[ deprecated( note = "Renamed to .columns()" , since = "0.15.0" ) ]
1192- pub fn gencolumns ( & self ) -> Lanes < ' _ , A , D :: Smaller >
1193- where S : Data
1194- {
1195- self . columns ( )
1196- }
1197-
11981173 /// Return a producer and iterable that traverses over the *generalized*
11991174 /// columns of the array and yields mutable array views.
12001175 ///
@@ -1205,17 +1180,6 @@ where
12051180 LanesMut :: new ( self . view_mut ( ) , Axis ( 0 ) )
12061181 }
12071182
1208- /// Return a producer and iterable that traverses over the *generalized*
1209- /// columns of the array and yields mutable array views.
1210- ///
1211- /// Renamed to `.columns_mut()`
1212- #[ deprecated( note = "Renamed to .columns_mut()" , since = "0.15.0" ) ]
1213- pub fn gencolumns_mut ( & mut self ) -> LanesMut < ' _ , A , D :: Smaller >
1214- where S : DataMut
1215- {
1216- self . columns_mut ( )
1217- }
1218-
12191183 /// Return a producer and iterable that traverses over all 1D lanes
12201184 /// pointing in the direction of `axis`.
12211185 ///
@@ -1993,7 +1957,7 @@ where
19931957 /// [3., 4.]])
19941958 /// );
19951959 /// ```
1996- #[ deprecated = "Use `.into_shape_with_order()` or `.to_shape()`" ]
1960+ #[ deprecated( note = "Use `.into_shape_with_order()` or `.to_shape()`" , since = "0.16.0" ) ]
19971961 pub fn into_shape < E > ( self , shape : E ) -> Result < ArrayBase < S , E :: Dim > , ShapeError >
19981962 where E : IntoDimension
19991963 {
@@ -2102,10 +2066,7 @@ where
21022066 /// );
21032067 /// ```
21042068 #[ track_caller]
2105- #[ deprecated(
2106- note = "Obsolete, use `to_shape` or `into_shape_with_order` instead." ,
2107- since = "0.15.2"
2108- ) ]
2069+ #[ deprecated( note = "Use `.into_shape_with_order()` or `.to_shape()`" , since = "0.16.0" ) ]
21092070 pub fn reshape < E > ( & self , shape : E ) -> ArrayBase < S , E :: Dim >
21102071 where
21112072 S : DataShared + DataOwned ,
@@ -2944,20 +2905,6 @@ where
29442905 self . fold ( ( ) , move |( ) , elt| f ( elt) )
29452906 }
29462907
2947- /// Visit each element in the array by calling `f` by reference
2948- /// on each element.
2949- ///
2950- /// Elements are visited in arbitrary order.
2951- #[ deprecated( note = "Renamed to .for_each()" , since = "0.15.0" ) ]
2952- pub fn visit < ' a , F > ( & ' a self , f : F )
2953- where
2954- F : FnMut ( & ' a A ) ,
2955- A : ' a ,
2956- S : Data ,
2957- {
2958- self . for_each ( f)
2959- }
2960-
29612908 /// Fold along an axis.
29622909 ///
29632910 /// Combine the elements of each subview with the previous using the `fold`
0 commit comments