powered by
this function checks if the input is a numeric (double) matrix of dimension \(n \times m\)
is_numeric_matrix(x, n, m)
is the input
is the input matrix rows
is the input matrix columns