#include "ndarray_view.h"
#include "ndcoord.h"
#include "../os/memory.h"
#include <memory>
#include <utility>
#include "ndarray.tcc"
Go to the source code of this file.
|
template<std::size_t Dim, typename T > |
auto | mf::make_ndarray (const ndarray_view< Dim, T > &vw) |
|
#define MF_NDARRAY_VIEW_FUNC_ |
( |
|
func | ) |
|
Value:template<typename... Args> decltype(auto) func(Args&&... args) { \
return view().func(std::forward<Args>(args)...); \
} \
template<typename... Args> decltype(auto) func(Args&&... args) const { \
return cview().func(std::forward<Args>(args)...); \
}