randomDistributedMatrix(100, 90, 50, 20, 1.0, false);
dm.setConf(getConfiguration());
Vector expected = new DenseVector(50);
for (int i = 0; i < m.numRows(); i++) {
expected.assign(m.viewRow(i), Functions.PLUS);
}
expected.assign(Functions.DIV, m.numRows());
Vector actual = dm.columnMeans("DenseVector");
assertEquals(0.0, expected.getDistanceSquared(actual), EPSILON);
}