|
template<typename VALUE > |
static VALUE | evaluate (const VALUE *table_matrix, const int *it, const size_t nb_cols) |
|
template<>
class qmcplusplus::CustomizedMatrixDet< 3 >
Definition at line 189 of file SmallMatrixDetCalculator.h.
◆ evaluate()
static VALUE evaluate |
( |
const VALUE * |
table_matrix, |
|
|
const int * |
it, |
|
|
const size_t |
nb_cols |
|
) |
| |
|
inlinestatic |
Definition at line 193 of file SmallMatrixDetCalculator.h.
References SmallMatrixDetCalculator< T >::evaluate(), and qmcplusplus::flat_idx().
196 const int i2 = *(it + 1);
197 const int i3 = *(it + 2);
198 const int a1 = *(it + 3);
199 const int a2 = *(it + 4);
200 const int a3 = *(it + 5);
202 table_matrix[
flat_idx(i1, a2, nb_cols)],
203 table_matrix[
flat_idx(i1, a3, nb_cols)],
204 table_matrix[
flat_idx(i2, a1, nb_cols)],
205 table_matrix[
flat_idx(i2, a2, nb_cols)],
206 table_matrix[
flat_idx(i2, a3, nb_cols)],
207 table_matrix[
flat_idx(i3, a1, nb_cols)],
208 table_matrix[
flat_idx(i3, a2, nb_cols)],
209 table_matrix[
flat_idx(i3, a3, 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: