code: public Vector mul(double b) {
          Vector result = new Vector(size);
          int i;
          for (i = 0; i < size; i++)
              result.vector[i] = vector[i] * b;
          return result;
      }
docs: Multiplikation from a vectors with an double