Template Numerical Library version\ main:f17d0c8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TNL::Containers::Expressions::StaticBinaryExpressionTemplate< T1, T2, Operation, VectorExpressionVariable, ArithmeticVariable > Struct Template Reference
Collaboration diagram for TNL::Containers::Expressions::StaticBinaryExpressionTemplate< T1, T2, Operation, VectorExpressionVariable, ArithmeticVariable >:
Collaboration graph
[legend]

Public Types

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

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: