Skip to content

class expression_function<Fn, Args> expressions

template <typename Fn, typename... Args>
struct expression_function : expression_with_arguments<Args...>, expression_traits_defaults { … }

typedef value_type

using value_type =
    typename std::invoke_result_t<Fn,
                                  vec<typename expression_traits<Args>::value_type, 1>...>::value_type

Defined at base/expression.hpp:427

variable dims

constexpr static size_t dims = std::max({ expression_traits<Args>::dims... })

Defined at base/expression.hpp:430

function get_shape(const expression_function<Fn, Args...> &)

constexpr static shape<dims> get_shape(const expression_function& self) { … }

Defined at base/expression.hpp:457

function get_shape()

constexpr static shape<dims> get_shape() { … }

Defined at base/expression.hpp:466

variable random_access

constexpr static inline bool random_access = (expression_traits<Args>::random_access && ...)

Defined at base/expression.hpp:478

variable fn

Fn fn

Defined at base/expression.hpp:480

constructor expression_function<Fn, Args...>(expression_with_arguments<Args...>, Fn &&)

Defined at base/expression.hpp:482

constructor expression_function<Fn, Args...>(Fn &&, arg<Args &&>...)

Defined at base/expression.hpp:486

constructor expression_function<Fn, Args...>(arg<Args &&>...)

Defined at base/expression.hpp:490

function operator=(In &&)

template <input_expression In>
expression_function& operator=(In&& in)

Defined at base/expression.hpp:496

Defined at base/expression.hpp:425