Template Numerical Library: TNL::Containers::Expressions::UnaryExpressionTemplate< T1, Operation > Struct Template Reference

Template Numerical Library version\ main:c7077e4fd

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Containers::Expressions::UnaryExpressionTemplate< T1, Operation > Struct Template Reference

## Public Types
using | ConstViewType = UnaryExpressionTemplate
using | DeviceType = typename T1::DeviceType
using | IndexType = typename T1::IndexType
using | RealType = decltype( Operation{}( std::declval< T1 >()[ 0 ] ) )
using | ValueType = RealType

## Public Member Functions
| UnaryExpressionTemplate (const T1 &a)
ConstViewType | getConstView () const
RealType | getElement (const IndexType i) const
__cuda_callable__ IndexType | getSize () const
__cuda_callable__ RealType | operator() (const IndexType i) const
__cuda_callable__ RealType | operator[] (const IndexType i) const

## Protected Attributes
const T1::ConstViewType | operand

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

- src/TNL/Containers/Expressions/ExpressionTemplates.h