public void TestHashCode()
    {
      ComplexDoubleVector a = new ComplexDoubleVector(2);
      a[0] = 0;
      a[1] = 1;

      int hash = a.GetHashCode();
      Assert.AreEqual(hash, 1);
    }