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

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: