QMCPACK
TestMatrix1 Struct Reference
+ Collaboration diagram for TestMatrix1:

Static Public Member Functions

template<typename T >
static void fillInput (Matrix< T > &a)
 
template<typename T >
static void fillInverse (Matrix< T > &b)
 
static double logDet ()
 

Detailed Description

Definition at line 36 of file createTestMatrix.h.

Member Function Documentation

◆ fillInput()

static void fillInput ( Matrix< T > &  a)
inlinestatic

Definition at line 39 of file createTestMatrix.h.

Referenced by qmcplusplus::TEMPLATE_TEST_CASE(), and qmcplusplus::TEST_CASE().

40  {
41  a(0, 0) = 2.3;
42  a(0, 1) = 4.5;
43  a(0, 2) = 2.6;
44  a(1, 0) = 0.5;
45  a(1, 1) = 8.5;
46  a(1, 2) = 3.3;
47  a(2, 0) = 1.8;
48  a(2, 1) = 4.4;
49  a(2, 2) = 4.9;
50  }

◆ fillInverse()

static void fillInverse ( Matrix< T > &  b)
inlinestatic

Definition at line 54 of file createTestMatrix.h.

Referenced by qmcplusplus::TEMPLATE_TEST_CASE(), and qmcplusplus::TEST_CASE().

55  {
56  b(0, 0) = 0.6159749342;
57  b(0, 1) = -0.2408954682;
58  b(0, 2) = -0.1646081192;
59  b(1, 0) = 0.07923894288;
60  b(1, 1) = 0.1496231042;
61  b(1, 2) = -0.1428117337;
62  b(2, 0) = -0.2974298429;
63  b(2, 1) = -0.04586322768;
64  b(2, 2) = 0.3927890292;
65  }

◆ logDet()

static double logDet ( )
inlinestatic

Definition at line 68 of file createTestMatrix.h.

Referenced by qmcplusplus::TEMPLATE_TEST_CASE(), and qmcplusplus::TEST_CASE().

68 { return 3.78518913425; }

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