Returns the result of ncol for every matrix in a list

ncols(mats)

Arguments

mats

a list of matrices (or a single matrix)

Value

ncol for each matrix provided.