Expand description
Row vector type.
Structs§
- Row
- Heap allocated resizable row vector.
- RowMut
- Mutable view over a row vector, similar to a mutable reference to a strided slice.
- RowRef
- Immutable view over a row vector, similar to an immutable reference to a strided slice.
Traits§
- AsRow
Mut - Trait for types that can be converted to a mutable row view.
- AsRow
Ref - Trait for types that can be converted to a row view.
- RowBatch
- Type that can be interpreted as a batch of row vectors. Can be a single row or a matrix.
- RowBatch
Mut - Type that can be interpreted as a mutable batch of row vectors. Can be a single row or a matrix.
- RowIndex
- Represents a type that can be used to slice a row, such as an index or a range of indices.
Functions§
- from_
mut - Returns a view over a column with 1 row containing value as its only element, pointing to
value
. - from_
mut_ generic - Returns a view over a row with 1 column containing value as its only element, pointing to
value
. - from_
raw_ ⚠parts - Creates a
RowRef
from pointers to the row vector data, number of columns, and column stride. - from_
raw_ ⚠parts_ mut - Creates a
RowMut
from pointers to the row vector data, number of columns, and column stride. - from_
ref - Returns a view over a row with 1 column containing value as its only element, pointing to
value
. - from_
ref_ generic - Returns a view over a row with 1 column containing value as its only element, pointing to
value
. - from_
repeated_ ref - Returns a view over a row with
ncols
columns containingvalue
repeated for all elements. - from_
repeated_ ref_ generic - Returns a view over a row with
ncols
columns containingvalue
repeated for all elements. - from_
slice - Creates a
RowRef
from slice views over the row vector data, The result has the same number of columns as the length of the input slice. - from_
slice_ generic - Creates a
RowRef
from slice views over the row vector data, The result has the same number of columns as the length of the input slice. - from_
slice_ mut - Creates a
RowMut
from slice views over the row vector data, The result has the same number of columns as the length of the input slice. - from_
slice_ mut_ generic - Creates a
RowMut
from slice views over the row vector data, The result has the same number of columns as the length of the input slice.