Previous SAXO Documentation Assistant: Overview Next

Obsolete/

congridseb.pro

Used to avoid a bug in congrid in a old version of IDL Useless now...

congridseb obsolete

result = congridseb(tableau, x, y)

Return value

an array which dimensions are x,y

Parameters

tableau        in required

1d or 2d array

x        in required

first dimension of the result which must be a multiple of the first dimension of the input array.

y        in required

second dimension of the result which must be a multiple of the second dimension of the input array

Examples


 old example: based on a old version of IDL (5.??)
   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

    

Version history

Version

$Id: congridseb.pro 371 2008-08-07 09:32:02Z pinsard $

History

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

Known issues

Obsolete

 


  Produced by IDLdoc 2.0.