powered by
Check if the input weighting matrix is well-defined and return the same matrix without attributes such as row and column names.
set.mat.weights(W, n, m)