assertEquals(3.0,a.get(),0.0);
assertEquals(1,a.elementCount());
assertEquals(1,a.nonZeroCount());
assertEquals(3.0,a.elementSum(),0.0);
Scalar s=new Scalar(1.0);
s.set(a);
assertEquals(3.0,s.get(),0.0);
s.set(2.0);
a.set(s);
assertEquals(2.0,a.get(),0.0);
}