Kronos IDL library

Library to retrieve and process CASSINI-RPWS-HFR data

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

./

cmreplicate.pro


Replicates an array or scalar into a larger array, as REPLICATE does.

Examples

x = [0,1,2] help, cmreplicate(x, [2,2]) INT = Array[3, 2, 2] Explanation: The 3-vector x is replicated 2x2 times. x = 5L help, cmreplicate(x, [2,2]) LONG = Array[2, 2] Explanation: The scalar x is replicated 2x2 times. SEE ALSO: REPLICATE

Author information

History

Written, CM, 11 Feb 2000 Fixed case when ARRAY is array of structs, CM, 23 Feb 2000 Apparently IDL 5.3 can't return from execute(). Fixed, CM, 24 Feb 2000 Corrected small typos in documentation, CM, 22 Jun 2000

Routines

top source cmreplicate

result = cmreplicate(array, dims)

Parameters

array
dims

Statistics

Lines:
50 lines
Cyclomatic complexity:
12
Modified cyclomatic complexity:
12

File attributes

Modification date: Fri Jan 9 19:59:00 2015
Lines: 50
Docformat: idl verbatim