@Test
public void testSumSquaredDiff() throws Exception {

    Assert.assertEquals(MatVecOp.sumSquaredDiff(dv, sv), 24.0, TOL);
    Assert.assertEquals(MatVecOp.sumSquaredDiff(sv, dv), 24.0, TOL);
    Assert.assertEquals(MatVecOp.sumSquaredDiff(sv, sv), 0.0, TOL);
    Assert.assertEquals(MatVecOp.sumSquaredDiff(dv, dv), 0.0, TOL);
}