<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Matrix/

congridseb.pro

Like congrid but here, it works... example: IDL> print, congrid([[1,2,3,4],[5,6,7,8]],12,4) 1 1 1 2 2 2 3 3 3 3 4 4 1 1 1 2 2 2 3 3 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 5 5 5 6 6 6 7 7 7 7 8 8 IDL> print, rebin([[1,2,3,4],[5,6,7,8]],12,4) 1 1 1 2 2 2 3 3 3 4 4 4 3 3 3 4 4 4 5 5 5 6 6 6 5 5 5 6 6 6 7 7 7 8 8 8 5 5 5 6 6 6 7 7 7 8 8 8 IDL> print, congridseb([[1,2,3,4],[5,6,7,8]],12,4) 1 1 1 2 2 2 3 3 3 4 4 4 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 5 5 5 6 6 6 7 7 7 8 8 8

topcongridseb utilities

result = congridseb(tableau, x, y)

Return value

a table dim x * y

Parameters

tableau        in required

A table 1 ou 2d

x        in required

dimension in x of the result which must be a multiple of the dimension in x of the table.

y        in required

dimension in y of the result which must be a multiple of the dimension in y of the table.

Version history

Version

$Id: congridseb.pro 136 2006-07-10 15:20:19Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 20/3/98 18/6/1999 supression d''une horrible boucle
Produced by IDLdoc 2.0.