178 |
kaklik |
1 |
#ifndef __MIMASEXTERNALARRAYFUNC |
|
|
2 |
# error "Do not include this file directly." |
|
|
3 |
#endif |
|
|
4 |
#ifndef __MIMASFUNCTIONOBJECT |
|
|
5 |
# error "Do not include this file directly." |
|
|
6 |
#endif |
|
|
7 |
|
|
|
8 |
namespace mimas { |
|
|
9 |
|
|
|
10 |
/** @addtogroup arrayOp |
|
|
11 |
@{ */ |
|
|
12 |
/// |
|
|
13 |
template < |
|
|
14 |
typename T, size_t NumDims, |
|
|
15 |
template< typename, size_t > class MultiArray |
|
|
16 |
> |
|
|
17 |
boost::multi_array< T, NumDims > __MIMASEXTERNALARRAYFUNC( const MultiArray< T, NumDims > &a, const MultiArray< T, NumDims > &b ) |
|
|
18 |
{ |
|
|
19 |
return multi_func< T >( a, b, __MIMASFUNCTIONOBJECT< T >() ); |
|
|
20 |
}; |
|
|
21 |
|
|
|
22 |
///@} |
|
|
23 |
|
|
|
24 |
} |
|
|
25 |
|
|
|
26 |
#undef __MIMASEXTERNALARRAYFUNC |
|
|
27 |
#undef __MIMASFUNCTIONOBJECT |