Skip to content

Dense lin alg matlab like operators

James Sutherland requested to merge DenseLinAlgMatlabLikeOperators into DenseLinAlg

Add Matlab-like syntax to FieldVector and FieldMatrix: -FieldMatrix * FieldMatrix matrix multiplication -FieldMatrix + FieldMatrix, FieldMatrix - FieldMatrix, FieldVector + FieldVector, FieldVector - FieldVector addition and subtraction. -Scalar multiplication of a FieldMatrix or a FieldVector -Offset of FieldMatrix diagonal by a scalar value c in the form A = B + cI where B is a matrix, c is a scalar, and I is the identity matrix. A is also a matrix.

Merge request reports