Interface Matrix.RelWithAbs<AU extends AbsoluteLinearUnit<AU,​RU>,​A extends Scalar<AU,​A>,​AV extends Vector.Abs<AU,​A,​AV,​RU,​R,​RV>,​AM extends Matrix.Abs<AU,​A,​AV,​AM,​RU,​R,​RV,​RM>,​RU extends Unit<RU>,​R extends Scalar<RU,​R>,​RV extends Vector.RelWithAbs<AU,​A,​AV,​RU,​R,​RV>,​RM extends Matrix.RelWithAbs<AU,​A,​AV,​AM,​RU,​R,​RV,​RM>>

    • Method Detail

      • plus

        AM plus​(AM increment)
        Add an absolute matrix to this relative matrix. A new matrix is returned. When the matrix itself needs to be changed, use the increaseBy(V) method instead. The addition is done value by value and the result is stored in a new matrix. If both operands are sparse, the result is a sparse matrix, otherwise the result is a dense matrix.
        increment - AM; the absolute matrix (mutable or immutable, sparse or dense) to add to this relative matrix
        AMV; the sum of this matrix and the operand as a new absolute, mutable matrix
        ValueRuntimeException - in case this matrix and the operand have a different size