|
template<typename VALUE > |
static VALUE | evaluate (const VALUE *table_matrix, const int *it, const size_t nb_cols) |
|
template<>
class qmcplusplus::CustomizedMatrixDet< 2 >
Definition at line 170 of file SmallMatrixDetCalculator.h.
◆ evaluate()
static VALUE evaluate |
( |
const VALUE * |
table_matrix, |
|
|
const int * |
it, |
|
|
const size_t |
nb_cols |
|
) |
| |
|
inlinestatic |
Definition at line 174 of file SmallMatrixDetCalculator.h.
References SmallMatrixDetCalculator< T >::evaluate(), qmcplusplus::flat_idx(), and qmcplusplus::n.
177 const int j = *(it + 1);
178 const int a = *(it + 2);
179 const int b = *(it + 3);
180 const int n = nb_cols;
182 table_matrix[
flat_idx(i, b, nb_cols)],
183 table_matrix[
flat_idx(j, a, nb_cols)],
184 table_matrix[
flat_idx(j, b, nb_cols)]);
static T evaluate(T a11, T a12, T a21, T a22)
size_t flat_idx(const int i, const int a, const int n)
The documentation for this class was generated from the following file: