Interface MatrixRing

    • Method Detail

      • t

        Matrix t()
        Get the transpose of this matrix. This is the involution on the matrix ring.
        Returns:
        the transpose of this matrix
      • minus

        Matrix minus​(Matrix that)
        this - that
        Specified by:
        minus in interface AbelianGroup<Matrix>
        Parameters:
        that - a matrix
        Returns:
        the difference between this and that
      • multiply

        Matrix multiply​(Matrix that)
        this * that
        Specified by:
        multiply in interface Monoid<Matrix>
        Parameters:
        that - a matrix
        Returns:
        the product ofthis and that
      • ZERO

        Matrix ZERO()
        Get a zero matrix that has the same dimension as this matrix.
        Specified by:
        ZERO in interface AbelianGroup<Matrix>
        Returns:
        the 0 matrix
      • ONE

        Matrix ONE()
        Get an identity matrix that has the same dimension as this matrix. For a non-square matrix, it zeros out the rows (columns) with index > nCols (nRows).
        Specified by:
        ONE in interface Monoid<Matrix>
        Returns:
        an identity matrix