
OPPAD(3LO)           Linop Reference Manual            OPPAD(3LO)

NAME
     <type>opPad - Operator to pad or truncate a <type>space.

SYNOPSIS
     #include <<type>oppad.h>

DESCRIPTION
     <type>opPad is a <type>opone to pad or  truncate  along  one
     axis  of a <type>space. Padding involves adding zeros on one
     end, truncating  shortens  the  data.  In  constructing  the
     <type>opPad, the number of samples to pad or truncate at the
     front and back are specified. The Adjoint function does  the
     opposite,  that  is, pads where Forward truncates, and trun-
     cates where Forward pads.

PUBLIC OPERATIONS
     <type>opPad(const Axis &,int front,int back)
          Construct a <type>opPad which  operates  on  the  Axis,
          padding  front  number  of zeros to the front, and back
          zeros to the back. If front or back  are  negative,  it
          truncates instead of padding (also by that number).

     <type>opPad(const char *name,int front,int back)
          Construct from the name of the Axis to operate  on  and
          the number to pad or truncate in the front and back.

     <type>space Forward(const <type>space &) const
     <type>space Adjoint(const <type>space &) const

PRIVATE VARIABLES
     int front
     int back

PRIVATE OPERATIONS
     void forwardwildtrans(Axislist&,const Axislist&) const
     void adjointwildtrans(Axislist&,const Axislist&) const

     void apply(<type>Array &,<type>Array &,int,
                 const Axislist &,const Axislist &) const

SEE ALSO
     <type>space, <type>opone

