xtensor
Loading...
Searching...
No Matches
xt::xvectorizer< F, R > Class Template Reference

Public Types

template<class... E>
using xfunction_type = xfunction<F, xclosure_t<E>...>
 

Public Member Functions

template<class Func , class = std::enable_if_t<!std::is_same<std::decay_t<Func>, xvectorizer>::value>>
 xvectorizer (Func &&f)
 
template<class... E>
xfunction_type< E... > operator() (E &&... e) const
 
template<class... E>
auto operator() (E &&... e) const -> xfunction_type< E... >
 

Detailed Description

template<class F, class R>
class xt::xvectorizer< F, R >

Definition at line 27 of file xvectorize.hpp.

Member Typedef Documentation

◆ xfunction_type

template<class F , class R >
template<class... E>
using xt::xvectorizer< F, R >::xfunction_type = xfunction<F, xclosure_t<E>...>

Definition at line 32 of file xvectorize.hpp.

Constructor & Destructor Documentation

◆ xvectorizer()

template<class F , class R >
template<class Func , class >
xt::xvectorizer< F, R >::xvectorizer ( Func && f)
inline

Definition at line 72 of file xvectorize.hpp.

Member Function Documentation

◆ operator()()

template<class F , class R >
template<class... E>
auto xt::xvectorizer< F, R >::operator() ( E &&... e) const -> xfunction_type<E...>
inline

Definition at line 79 of file xvectorize.hpp.


The documentation for this class was generated from the following file: