|
53 | 53 | //! - Performance:
|
54 | 54 | //! + Prefer higher order methods and arithmetic operations on arrays first,
|
55 | 55 | //! then iteration, and as a last priority using indexed algorithms.
|
56 |
| -//! + The higher order functions like ``.map()``, ``.map_inplace()``, |
57 |
| -//! ``.zip_mut_with()``, ``Zip`` and ``azip!()`` are the most efficient ways |
| 56 | +//! + The higher order functions like [`.map()`](ArrayBase::map), |
| 57 | +//! [`.map_inplace()`](ArrayBase::map_inplace), [`.zip_mut_with()`](ArrayBase::zip_mut_with), |
| 58 | +//! [`Zip`] and [`azip!()`](azip) are the most efficient ways |
58 | 59 | //! to perform single traversal and lock step traversal respectively.
|
59 | 60 | //! + Performance of an operation depends on the memory layout of the array
|
60 | 61 | //! or array view. Especially if it's a binary operation, which
|
@@ -300,9 +301,10 @@ pub type Ixs = isize;
|
300 | 301 | /// Please see the documentation for the respective array view for an overview
|
301 | 302 | /// of methods specific to array views: [`ArrayView`], [`ArrayViewMut`].
|
302 | 303 | ///
|
303 |
| -/// A view is created from an array using `.view()`, `.view_mut()`, using |
304 |
| -/// slicing (`.slice()`, `.slice_mut()`) or from one of the many iterators |
305 |
| -/// that yield array views. |
| 304 | +/// A view is created from an array using [`.view()`](ArrayBase::view), |
| 305 | +/// [`.view_mut()`](ArrayBase::view_mut), using |
| 306 | +/// slicing ([`.slice()`](ArrayBase::slice), [`.slice_mut()`](ArrayBase::slice_mut)) or from one of |
| 307 | +/// the many iterators that yield array views. |
306 | 308 | ///
|
307 | 309 | /// You can also create an array view from a regular slice of data not
|
308 | 310 | /// allocated with `Array` — see array view methods or their `From` impls.
|
|
0 commit comments