Module row

Source
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§

AsRowMut
Trait for types that can be converted to a mutable row view.
AsRowRef
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.
RowBatchMut
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 containing value repeated for all elements.
from_repeated_ref_generic
Returns a view over a row with ncols columns containing value 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.