add array::grow() and array::is_vector();  avoid temporary created by operator= by input_t::readSamples