Clip off last column of matrix m
.
Clip off last row of matrix m
.
Matlab's side-by-side matrix concatenation operator.
Does a convolution of two matrices.
Does a convolution of two matrices.
Image to be convolved.
Convolution filter.
"full", "same", or "valid"
Matlab's fliplr operator.
Matlab's flipup operator.
Matlab spec says this produces a "row vector", which is a matrix with a single row in Cog.
Implement Matlab's repmat.
Implement Matlab's repmat.
Matrix to be replicated.
Row replication factor.
Column replication factor.
Matlab's top-on-bottom matrix concatenation operator.
Lower triangular part of (square) matrix.
Implements a few Matlab functions to make it easier to translate Matlab code to Cog.