Template Numerical Library version\ main:9e7b0f4
Loading...
Searching...
No Matches
TNL::Containers::Expressions::BinaryExpressionTemplate< T1, T2, Operation, ArithmeticVariable, VectorExpressionVariable > Struct Template Reference

Public Types

using ConstViewType = BinaryExpressionTemplate
using DeviceType = typename T2::DeviceType
using IndexType = typename T2::IndexType
using RealType = decltype( Operation{}( std::declval< T1 >(), std::declval< T2 >()[ 0 ] ) )
using ValueType = RealType

Public Member Functions

 BinaryExpressionTemplate (const T1 &a, const T2 &b)
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 op1
const T2::ConstViewType op2

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