
OPMASK(3LO)          Linop Reference Manual           OPMASK(3LO)

NAME
     <type>opMask - Operator to mask a <type>space along an axis.

SYNOPSIS
     #include <<type>opmask.h>

DESCRIPTION
     <type>opMask is a <type>opone  which  masks  a  <type>space,
     meaning  it  sets some of the values equal to zero. The axis
     to mask along, and the positions along this axis to  set  to
     zero, are specified in the constructor. The Adjoint function
     does the same thing as the Forward function.

PUBLIC OPERATIONS
     <type>opMask(const Axis &,const int *)
          Construct a <type>opMask given the Axis to mask  along,
          and an int array which has zeros at the positions which
          are to be set to zero. The int array is copied into the
          operator.

     <type>opMask(const Axis &,const <type>space &)
          Construct a <type>opMask given the Axis to mask  along,
          and a <type>space used to mask.

     ~<type>opMask()

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

PRIVATE VARIABLE
     int * mask

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

SEE ALSO
     <type>space, <type>opone

