>  Docs Center  >  Libraries  >  JBIU  >  VECREP
Libraries

VECREP

VECREP

Name


    VECREP

Purpose


    Replicates a vector a given number of times.

Category


    Misc

Calling Sequence


    Result = VECREP(Vec, N)

Inputs


    Vec: 1D vector to replicate
    N: Number of times to replicate

Example


    IDL> a = [10,11,12]
    IDL> print, VECREP(a,2)
          10 11 12 10 11 12

Modification History


    Written by Jeremy Bailin, Nov 29 2010



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us