Returns the result of ncol for every matrix in a list

ncols(mats)

Arguments

m

a list of matrices (or a single matrix)

Value

ncol for each matrix provided.