xaxis_expression_leaf¶
Defined in xframe/xaxis_expression_leaf.hpp
-
template<class
CTA
>
classxaxis_expression_leaf
: public xt::xexpression<xaxis_expression_leaf<CTA>>¶ An subset of an expression on axis.
The xaxis_expression_leaf class is used with xaxis_function for creating an expression on xnamed_axis, e.g.
auto expr = not_equal(axis1, 2) && axis2 < 3
. In the example above,axis1
,axis2
are xnamed_axis which will be converted to xaxis expression leaves before stored in the xaxis_function object.- See
- Template Parameters
CTA
: the named axis type.
Public Functions
-
template<class
AX
>xaxis_expression_leaf
(AX &&n_axis)¶ Builds an xaxis_expression_leaf.
- Parameters
n_axis
: the xnamed_axis.
-
template<std::size_t
N
>
autooperator()
(const selector_sequence_type<N> &selector) const¶ Returns the label from the xnamed_axis, given a selector.
- Parameters
selector
: a selector_sequence_type.