NAME

pad_it - Pad an array


SYNOPSIS

pad_it(input,output,ndim,n,beg,end.extend)


INPUT PARAMETER

input - void*
       Input dataset
ndim - int
       Number of dimensions
n - int[ndim]
       Axes lengths
beg - int[ndim]
       Amount to pad at the begining of each axis
end - int[ndim]
       Amount to pad at the end of each axis
extend- int
       Whether or not to fill with nearest point[1] or zeros [0]


OUTPUT PARAMETER

output - void*
      Output array


DESCRIPTION

Pads an array. Should work with any dimension.


LIBRARY

sepaux