|
template<typename VALUE > |
static VALUE | evaluate (const VALUE *table_matrix, const int *it, const size_t nb_cols) |
|
template<>
class qmcplusplus::CustomizedMatrixDet< 4 >
Definition at line 214 of file SmallMatrixDetCalculator.h.
◆ evaluate()
static VALUE evaluate |
( |
const VALUE * |
table_matrix, |
|
|
const int * |
it, |
|
|
const size_t |
nb_cols |
|
) |
| |
|
inlinestatic |
Definition at line 218 of file SmallMatrixDetCalculator.h.
References SmallMatrixDetCalculator< T >::evaluate(), and qmcplusplus::flat_idx().
221 const int i2 = *(it + 1);
222 const int i3 = *(it + 2);
223 const int i4 = *(it + 3);
224 const int a1 = *(it + 4);
225 const int a2 = *(it + 5);
226 const int a3 = *(it + 6);
227 const int a4 = *(it + 7);
229 table_matrix[
flat_idx(i1, a2, nb_cols)],
230 table_matrix[
flat_idx(i1, a3, nb_cols)],
231 table_matrix[
flat_idx(i1, a4, nb_cols)],
232 table_matrix[
flat_idx(i2, a1, nb_cols)],
233 table_matrix[
flat_idx(i2, a2, nb_cols)],
234 table_matrix[
flat_idx(i2, a3, nb_cols)],
235 table_matrix[
flat_idx(i2, a4, nb_cols)],
236 table_matrix[
flat_idx(i3, a1, nb_cols)],
237 table_matrix[
flat_idx(i3, a2, nb_cols)],
238 table_matrix[
flat_idx(i3, a3, nb_cols)],
239 table_matrix[
flat_idx(i3, a4, nb_cols)],
240 table_matrix[
flat_idx(i4, a1, nb_cols)],
241 table_matrix[
flat_idx(i4, a2, nb_cols)],
242 table_matrix[
flat_idx(i4, a3, nb_cols)],
243 table_matrix[
flat_idx(i4, a4, 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: