Module matrix_ops

Source
Expand description

addition and subtraction of matrices

Structs§

Dense
Dense matrix tag.
DenseCol
Dense column vector tag.
DenseRow
Dense row vector tag.
Diag
Diagonal matrix tag.
Perm
Permutation matrix tag.
Scalar
Scalar value tag.
Scale
Scaling factor tag.
SparseColMat
Sparse column-major matrix tag.
SparseRowMat
Sparse row-major matrix tag.

Traits§

GenericMatrix
Generic matrix trait.
GenericMatrixMut
Generic mutable matrix trait.
MatAdd
Matrix addition.
MatAddAssign
Matrix addition.
MatEq
Matrix equality comparison.
MatMul
Matrix multiplication.
MatMulAssign
Matrix multiplication.
MatNeg
Matrix negation.
MatSub
Matrix subtraction.
MatSubAssign
Matrix subtraction.
MatrixKind
Trait for describing the view and owning variants of a given matrix type tag.

Functions§

scale
Returns a scaling factor with the given value.