public void Axpy() { FloatVector a = new FloatVector(new float[4]{0,1,2,3}); float scal = 3; FloatVector b = new FloatVector(4); b.Axpy(scal,a); a.Scale(scal); Assert.AreEqual(a[0],b[0]); Assert.AreEqual(a[1],b[1]); Assert.AreEqual(a[2],b[2]); Assert.AreEqual(a[3],b[3]); }