In GIMP, there is a Matrix element on the gui of Convolution Matrix filter. I would like to see that on gmic one day. Something like:
Variable_Name = matrix(columns, rows, type, min limit, max limit, default_numbets)
Type can be int, float, or color.