>  Docs Center  >  Libraries  >  JBIU  >  VECREP

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



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us