
OPADDLEN(3LO)        Linop Reference Manual         OPADDLEN(3LO)

NAME
     <type>opAddlen - Operator to pad or truncate the end  of  an
     Axis of a <type>space.

SYNOPSIS
     #include <<type>opaddlen.h>

DESCRIPTION
     <type>opAddlen copies a space into a new space with Axes  of
     either longer or truncated length by value specified in con-
     struction.  Length is changed for every Axis with  specified
     name.  Forward  adds  the  length,  padding  with zeros, and
     Adjoint subtracts the length, truncating the data.

     This operator is a simple example of using wildcards.

PUBLIC OPERATIONS
     <type>opAddlen(const char *name,int len)
          Constructs from name of Axis and length to add or  sub-
          tract.

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

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

     void apply(floatArray&, floatArray&, int,
                 const Axislist &, const Axislist &) const

SEE ALSO
     <type>opone, <type>op, <type>operator

