Add a preallocating constructor.
Let adoublev participate sensibly in ostream chains.