In reply to Ksharp.

OK, but that isn't a function that acts on a matrix. It is a statement that acts on a data set.