# xexpression

Defined in `xtensor/xexpression.hpp`

template <class D>
class `xt::``xexpression`

  Base class for xexpressions.

  The xexpression class is the base class for all classes representing an expression that can be evaluated to a multidimensional container with tensor semantic. Functions that can apply to any xexpression regardless of its specific type should take a xexpression argument.

  Template Parameters
    - `E`: The derived type.

  Subclassed by xt::xsemantic_base< D >