Module extendr_api::prelude::row
Expand description
Row vector type.
Structs§
- Heap allocated resizable row vector.
- Mutable view over a row vector, similar to a mutable reference to a strided slice.
- Immutable view over a row vector, similar to an immutable reference to a strided slice.
Traits§
- Trait for types that can be converted to a mutable row view.
- Trait for types that can be converted to a row view.
- Type that can be interpreted as a batch of row vectors. Can be a single row or a matrix.
- Type that can be interpreted as a mutable batch of row vectors. Can be a single row or a matrix.
- Represents a type that can be used to slice a row, 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 row with 1 column containing value as its only element, pointing to
value
. - Creates a
RowRef
from pointers to the row vector data, number of columns, and column stride. - Creates a
RowMut
from pointers to the row vector data, number of columns, and column stride. - Returns a view over a row with 1 column containing value as its only element, pointing to
value
. - Returns a view over a row with 1 column containing value as its only element, pointing to
value
. - Returns a view over a row with
ncols
columns containingvalue
repeated for all elements. - Returns a view over a row with
ncols
columns containingvalue
repeated for all elements. - 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. - 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. - 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. - 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.