Crate ratio_matrix

Source
Expand description

§Ratio’s matrix data library

§License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

Code examples both in the docstrings and rendered documentation are free to use.

Modules§

traits
Common traits for working with 2D (matrix) data.

Structs§

CoordinatesOutOfBoundsError
Matrix cell access out of bounds.
Matrix
Two-dimensional matrix.
MatrixCellRef
Matrix cell.
MatrixCoordinates
Coordinate in a 2D matrix.
MatrixDimensionError
Matrix dimensions don’t agree. Values ({n_values}) modulo columns ({n_cols}) should be 0.
MatrixDimensions
2D matrix dimensions.
MatrixRange
2D range in a matrix.
MatrixSlice
Slice of a matrix.
MatrixViewOutOfBoundsError
Matrix view out of bounds.

Enums§

MatrixLocation
Location in a 2D matrix.
MatrixSliceError
Matrix dimensions don’t agree. Values ({n_values}) modulo columns ({n_cols}) should be 0.