Functions | |
| template<class R, class E> | |
| auto | xt::cast (E &&e) noexcept -> detail::xfunction_type_t< typename detail::cast< R >::functor, E > |
Element-wise static_cast. | |
|
inlinenoexcept |
Element-wise static_cast.
Returns an xfunction for the element-wise static_cast of e to type R.
| e | an xexpression or a scalar |
Definition at line 990 of file xoperation.hpp.