apply(f,...) applies the provided function in an elementwise fashion to its arguments, producing an object of the same dimensions.
More...
|
template<class F , class... A> |
using | apply_t = typename detail::apply<F, void, A...>::type |
|
template<class F , class... A> |
using | mm_apply_t |
|
template<class F , class... A> |
using | no_mm_apply_t |
|
template<class A > |
using | scalar_t |
|
|
template<class F , class... A> |
constexpr apply_t< F, A... > | apply (F func, const A &...args) |
|
template<class A , class F > |
constexpr apply_t< F, A > | map (const A &a, F func) |
|
template<class A , class B , class F > |
constexpr apply_t< F, A, B > | zip (const A &a, const B &b, F func) |
|
apply(f,...) applies the provided function in an elementwise fashion to its arguments, producing an object of the same dimensions.
◆ mm_apply_t
template<class F , class... A>
Initial value: typename std::enable_if<detail::apply<F, void, A...>::mm,
apply_t<F, A...>>::type
◆ no_mm_apply_t
template<class F , class... A>
Initial value: typename std::enable_if<!detail::apply<F, void, A...>::mm,
apply_t<F, A...>>::type
◆ scalar_t
Initial value:
typename detail::scalar_type<A>::type