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

Public Types

using RealType = decltype( Operation{}( std::declval< T1 >(), std::declval< T2 >()[ 0 ] ) )
 
using ValueType = RealType
 
using VectorOperandType = T2
 

Public Member Functions

constexpr StaticBinaryExpressionTemplate (const T1 &a, const T2 &b)
 
constexpr RealType operator[] (const int i) const
 
constexpr RealType x () const
 
constexpr RealType y () const
 
constexpr RealType z () const
 

Static Public Member Functions

static constexpr int getSize ()
 

Protected Attributes

OperandMemberType< T1 >::type op1
 
OperandMemberType< T2 >::type op2
 

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