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

Public Types

using ConstViewType = BinaryExpressionTemplate
 
using DeviceType = typename T1::DeviceType
 
using IndexType = typename T1::IndexType
 
using RealType = decltype( Operation{}( std::declval< T1 >()[ 0 ], 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::ConstViewType op1
 
const T2::ConstViewType op2
 

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