mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

analysis/

mg_repeat.pro


Routines

top mg_repeat

result = mg_repeat(vec, nreps)

Repeats a vector nreps times.

Parameters

vec in required type=vector

vector to repeat

nreps in required type=integer

number of times to repeat vector

Examples

For example, repeat an index vector twice times:

IDL> print, mg_repeat(indgen(3), 2) 0 1 2 0 1 2

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 5
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.