Module extendr_api::prelude::col

Expand description

Column vector type.

Structs§

  • Heap allocated resizable column vector.
  • Mutable view over a column vector, similar to a mutable reference to a strided slice.
  • Immutable view over a column vector, similar to an immutable reference to a strided slice.

Traits§

  • Trait for types that can be converted to a mutable column view.
  • Trait for types that can be converted to a column view.
  • Type that can be interpreted as a batch of column vectors. Can be a single column or a matrix.
  • Type that can be interpreted as a mutable batch of column vectors. Can be a single column or a matrix.
  • Represents a type that can be used to slice a column, such as an index or a range of indices.

Functions§

  • Returns a view over a column with 1 row containing value as its only element, pointing to value.
  • Returns a view over a column with 1 row containing value as its only element, pointing to value.
  • Creates a ColRef from pointers to the column vector data, number of rows, and row stride.
  • Creates a ColMut from pointers to the column vector data, number of rows, and row stride.
  • Returns a view over a column with 1 row containing value as its only element, pointing to value.
  • Returns a view over a column with 1 row containing value as its only element, pointing to value.
  • Returns a view over a column with nrows rows containing value repeated for all elements.
  • Returns a view over a column with nrows rows containing value repeated for all elements.
  • Creates a ColRef from slice views over the column vector data, The result has the same number of rows as the length of the input slice.
  • Creates a ColRef from slice views over the column vector data, The result has the same number of rows as the length of the input slice.
  • Creates a ColMut from slice views over the column vector data, The result has the same number of rows as the length of the input slice.
  • Creates a ColMut from slice views over the column vector data, The result has the same number of rows as the length of the input slice.