Documentation 6b54b78464
Loading...
Searching...
No Matches
VecExpr::add_< U, V, Scalar > Class Template Reference

#include <vector_expressions.hpp>

Inheritance diagram for VecExpr::add_< U, V, Scalar >:
[legend]

Public Member Functions

 add_ (const U &u_, const V &v_)
 
auto operator[] (size_t i) const -> decltype(u[i]+v[i])
 
- Public Member Functions inherited from VecExpr::CVecExpr< add_< U, V, Scalar >, Scalar >
const add_< U, V, Scalar > & derived () const
 Cast the expression to Derived, usually to allow evaluation via operator[].
 

Static Public Attributes

static constexpr bool StoreAsRef = false
 

Detailed Description

template<class U, class V, class Scalar>
class VecExpr::add_< U, V, Scalar >

— Expression class. —

Constructor & Destructor Documentation

◆ add_()

template<class U , class V , class Scalar >
VecExpr::add_< U, V, Scalar >::add_ ( const U &  u_,
const V &  v_ 
)
inline

Member Function Documentation

◆ operator[]()

template<class U , class V , class Scalar >
auto VecExpr::add_< U, V, Scalar >::operator[] ( size_t  i) const -> decltype( u[i] + v[i] )
inline

Member Data Documentation

◆ StoreAsRef

template<class U , class V , class Scalar >
constexpr bool VecExpr::add_< U, V, Scalar >::StoreAsRef = false
staticconstexpr

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