parameters: (self, a, b)
return_statement: return masked_d
docstring: Return the function applied to the outer product of a and b.
docstring_summary: Return the function applied to the outer product of a and b.
docstring_tokens: Return the function applied to the outer product of a and b .
function: def outer(self, a, b):
          """
          Return the function applied to the outer product of a and b.
  
          """
          (da, db) = (getdata(a), getdata(b))
          d = self.f.outer(da, db)
          ma = getmask(a)
          mb = getmask(b)
          if ma is nomask and mb is nomask:
              m = nomask
          else:
              ma = getmaskarray(a)
              mb = getmaskarray(b)
              m = umath.logical_or.outer(ma, mb)
          if (not m.ndim) and m:
              return masked
          if m is not nomask:
              np.copyto(d, da, where=m)
          if not d.shape:
              return d
          masked_d = d.view(get_masked_subclass(a, b))
          masked_d._mask = m
          return masked_d
function_tokens: def outer ( self , a , b ) : ( da , db ) = ( getdata ( a ) , getdata ( b ) ) d = self . f . outer ( da , db ) ma = getmask ( a ) mb = getmask ( b ) if ma is nomask and mb is nomask : m = nomask else : ma = getmaskarray ( a ) mb = getmaskarray ( b ) m = umath . logical_or . outer ( ma , mb ) if ( not m . ndim ) and m : return masked if m is not nomask : np . copyto ( d , da , where = m ) if not d . shape : return d masked_d = d . view ( get_masked_subclass ( a , b ) ) masked_d . _mask = m return masked_d