#ifndef __MIMASEXTERNALIMAGEFUNC
#   error "Do not include this file directly."
#endif
#ifndef __MIMASFUNCTIONOBJECT
#   error "Do not include this file directly."
#endif

namespace mimas {

/** @addtogroup arrayOp
    @{ */
///
template <
  typename T, typename T1Ptr, typename T2Ptr
>
image< T > __MIMASEXTERNALIMAGEFUNC( const const_image_ref< T, T1Ptr > &a,
                                     const const_image_ref< T, T2Ptr > &b )
{
  return image_func< T >( a, b, __MIMASFUNCTIONOBJECT< T >() );
};

///@}

}

#undef __MIMASEXTERNALIMAGEFUNC
#undef __MIMASFUNCTIONOBJECT