Module rerun::external::ndarray::prelude

source ·
Expand description

ndarray prelude.

This module contains the most used types, type aliases, traits, functions, and macros that you can import easily as a group.

use ndarray::prelude::*;

Macros§

  • Create an Array with one, two, three, four, five, or six dimensions.
  • Array zip macro: lock step function application across several arrays and producers.
  • Slice argument constructor.

Structs§

  • An n-dimensional array.
  • An axis index.
  • Dimension description.
  • Token to represent a new axis in a slice description.

Traits§

  • Argument conversion into an array view
  • Array shape and index trait.
  • Floating-point element types f32 and f64.
  • A trait for Shape and D where D: Dimension that allows customizing the memory layout (strides) of an array shape.

Functions§

  • Create a new dimension value.
  • Create a zero-dimensional index
  • Create a one-dimensional index
  • Create a two-dimensional index
  • Create a three-dimensional index
  • Create a four-dimensional index
  • Create a five-dimensional index
  • Create a six-dimensional index
  • Create a dynamic-dimensional index
  • Create a zero-dimensional array with the element x.
  • Create a one-dimensional array with elements from xs.
  • Create a two-dimensional array with elements from xs.
  • Create a zero-dimensional array view borrowing x.
  • Create a one-dimensional array view with elements borrowing xs.
  • Create a two-dimensional array view with elements borrowing xs.
  • Create a one-dimensional read-write array view with elements borrowing xs.

Type Aliases§