function repVec input Real[:] inVec "vector to be repeated"; input Integer len "length of inVec"; input Integer m "how often"; output Real[m*len] outVec; end repVec;