QMCPACK
CustomizedMatrixDet< 1 > Class Template Reference
+ Collaboration diagram for CustomizedMatrixDet< 1 >:

Static Public Member Functions

template<typename VALUE >
static VALUE evaluate (const VALUE *table_matrix, const int *it, const size_t nb_cols)
 

Detailed Description

template<>
class qmcplusplus::CustomizedMatrixDet< 1 >

Definition at line 156 of file SmallMatrixDetCalculator.h.

Member Function Documentation

◆ evaluate()

static VALUE evaluate ( const VALUE *  table_matrix,
const int *  it,
const size_t  nb_cols 
)
inlinestatic

Definition at line 160 of file SmallMatrixDetCalculator.h.

References qmcplusplus::flat_idx(), and qmcplusplus::n.

161  {
162  const int i = *it;
163  const int a = *(it + 1);
164  const int n = nb_cols;
165  return table_matrix[flat_idx(i, a, nb_cols)];
166  }
size_t flat_idx(const int i, const int a, const int n)

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