QMCPACK
LeafFunctor< Vector< T, C >, EvalLeaf1 > Struct Template Reference
+ Collaboration diagram for LeafFunctor< Vector< T, C >, EvalLeaf1 >:

Public Types

using Type_t = T
 

Static Public Member Functions

static Type_t apply (const Vector< T, C > &vec, const EvalLeaf1 &f)
 

Detailed Description

template<class T, class C>
struct qmcplusplus::LeafFunctor< Vector< T, C >, EvalLeaf1 >

Definition at line 388 of file OhmmsVector.h.

Member Typedef Documentation

◆ Type_t

using Type_t = T

Definition at line 390 of file OhmmsVector.h.

Member Function Documentation

◆ apply()

static Type_t apply ( const Vector< T, C > &  vec,
const EvalLeaf1 f 
)
inlinestatic

Definition at line 391 of file OhmmsVector.h.

References EvalLeaf1::val1().

391 { return vec[f.val1()]; }

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