v0.14.0
Public Member Functions | List of all members
FTensor::Tensor4_constructor< T, 2, 2, 2, 2 > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor4/Tensor4_constructor.hpp>

Public Member Functions

 Tensor4_constructor (T data[2][2][2][2], T d0000, T d0001, T d0010, T d0011, T d0100, T d0101, T d0110, T d0111, T d1000, T d1001, T d1010, T d1011, T d1100, T d1101, T d1110, T d1111)
 

Detailed Description

template<class T>
class FTensor::Tensor4_constructor< T, 2, 2, 2, 2 >

Definition at line 12 of file Tensor4_constructor.hpp.

Constructor & Destructor Documentation

◆ Tensor4_constructor()

template<class T >
FTensor::Tensor4_constructor< T, 2, 2, 2, 2 >::Tensor4_constructor ( data[2][2][2][2],
d0000,
d0001,
d0010,
d0011,
d0100,
d0101,
d0110,
d0111,
d1000,
d1001,
d1010,
d1011,
d1100,
d1101,
d1110,
d1111 
)
inline

Definition at line 15 of file Tensor4_constructor.hpp.

18  {
19  data[0][0][0][0] = d0000;
20  data[0][0][0][1] = d0001;
21  data[0][0][1][0] = d0010;
22  data[0][0][1][1] = d0011;
23  data[0][1][0][0] = d0100;
24  data[0][1][0][1] = d0101;
25  data[0][1][1][0] = d0110;
26  data[0][1][1][1] = d0111;
27  data[1][0][0][0] = d1000;
28  data[1][0][0][1] = d1001;
29  data[1][0][1][0] = d1010;
30  data[1][0][1][1] = d1011;
31  data[1][1][0][0] = d1100;
32  data[1][1][0][1] = d1101;
33  data[1][1][1][0] = d1110;
34  data[1][1][1][1] = d1111;
35  }

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