Template Numerical Library version\ main:f17d0c8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Containers::Expressions::BinaryExpressionTemplate< T1, T2, Operation, VectorExpressionVariable, ArithmeticVariable > 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 >() ) )
 
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 op2
 

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