|
| v0.14.0
|
Go to the documentation of this file.
13 template <
class A,
class B,
class T,
class U,
int Dim0_0,
int Dim1_0,
14 int Dim0_1,
int Dim1_1,
char i0,
char j0,
char i1,
char j1>
20 template <
class A,
class B,
class T,
class U,
int Dim,
int Dim1,
char i,
22 class Tensor2_carat_Tensor2<
A, B, T,
U, Dim, Dim1, Dim1, Dim,
i,
j,
j,
k>
27 template <
int Current_Dim>
31 return iterA(N1, Current_Dim - 1) * iterB(Current_Dim - 1, N2)
37 return iterA(N1, 0) * iterB(0, N2);
53 template <
class A,
class B,
class T,
class U,
int Dim,
int Dim1,
char i,
55 class Tensor2_carat_Tensor2<
A, B, T,
U, Dim, Dim1, Dim, Dim1,
i,
j,
k,
j>
60 template <
int Current_Dim>
64 return iterA(N1, Current_Dim - 1) * iterB(N2, Current_Dim - 1)
70 return iterA(N1, 0) * iterB(N2, 0);
86 template <
class A,
class B,
class T,
class U,
int Dim,
int Dim1,
char i,
88 class Tensor2_carat_Tensor2<
A, B, T,
U, Dim1, Dim, Dim1, Dim,
j,
i,
j,
k>
93 template <
int Current_Dim>
97 return iterA(Current_Dim - 1, N1) * iterB(Current_Dim - 1, N2)
103 return iterA(0, N1) * iterB(0, N2);
119 template <
class A,
class B,
class T,
class U,
int Dim,
int Dim1,
char i,
121 class Tensor2_carat_Tensor2<
A, B, T,
U, Dim1, Dim, Dim, Dim1,
j,
i,
k,
j>
126 template <
int Current_Dim>
130 return iterA(Current_Dim - 1, N1) * iterB(N2, Current_Dim - 1)
136 return iterA(0, N1) * iterB(N2, 0);
150 template <
class A,
class B,
class T,
class U,
int Dim0_0,
int Dim1_0,
151 int Dim0_1,
int Dim1_1,
char i0,
char j0,
char i1,
char j1>
156 Dim0_1, Dim1_1, i0, j0, i1, j1>;
158 !std::is_empty<TensorExpr>::value,
159 "Indexes or Dimensions are not compatible with the ^ operator");
162 constexpr
int Dim = (i0 == i1 || i0 == j1) ? Dim1_0 : Dim0_0;
163 constexpr
char i = (i0 == i1 || i0 == j1) ? j0 : i0,
164 j = (i1 == i0 || i1 == j0) ? j1 : i1;
167 i,
j>(TensorExpr(
a, b));
Ddg_Expr< Ddg_carat_Ddg_13< A, B, T, U, Dim, Dim23, i, j, k, l, m, n >, typename promote< T, U >::V, Dim, Dim23, i, k, m, n > operator^(const Ddg_Expr< A, T, Dim, Dim, i, j, k, l > &a, const Ddg_Expr< B, U, Dim, Dim23, j, l, m, n > &b)
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim1, Dim, i, j, j, k >::operator() promote< T, U >::V operator()(const int N1, const int N2) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim1, Dim, j, i, j, k >::iterA const Tensor2_Expr< A, T, Dim1, Dim, j, i > iterA
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim, Dim1, i, j, k, j >::iterA const Tensor2_Expr< A, T, Dim, Dim1, i, j > iterA
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim, Dim1, i, j, k, j >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< Current_Dim > &) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim1, Dim, i, j, j, k >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< 1 > &) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim1, Dim, j, i, j, k >::operator() promote< T, U >::V operator()(const int N1, const int N2) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim1, Dim, j, i, j, k >::iterB const Tensor2_Expr< B, U, Dim1, Dim, j, k > iterB
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim1, Dim, j, i, j, k >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< Current_Dim > &) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim, Dim1, j, i, k, j >::Tensor2_carat_Tensor2 Tensor2_carat_Tensor2(const Tensor2_Expr< A, T, Dim1, Dim, j, i > &a, const Tensor2_Expr< B, U, Dim, Dim1, k, j > &b)
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim, Dim1, j, i, k, j >::iterA const Tensor2_Expr< A, T, Dim1, Dim, j, i > iterA
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim1, Dim, i, j, j, k >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< Current_Dim > &) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim, Dim1, j, i, k, j >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< Current_Dim > &) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim1, Dim, i, j, j, k >::Tensor2_carat_Tensor2 Tensor2_carat_Tensor2(const Tensor2_Expr< A, T, Dim, Dim1, i, j > &a, const Tensor2_Expr< B, U, Dim1, Dim, j, k > &b)
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim, Dim1, i, j, k, j >::operator() promote< T, U >::V operator()(const int N1, const int N2) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim, Dim1, i, j, k, j >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< 1 > &) const
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim, Dim1, j, i, k, j >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< 1 > &) const
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim1, Dim, j, i, j, k >::eval promote< T, U >::V eval(const int N1, const int N2, const Number< 1 > &) const
FTensor::Index< 'j', 3 > j
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim, Dim1, i, j, k, j >::iterB const Tensor2_Expr< B, U, Dim, Dim1, k, j > iterB
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim, Dim1, j, i, k, j >::iterB const Tensor2_Expr< B, U, Dim, Dim1, k, j > iterB
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim1, Dim, i, j, j, k >::iterA const Tensor2_Expr< A, T, Dim, Dim1, i, j > iterA
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim, Dim1, i, j, k, j >::Tensor2_carat_Tensor2 Tensor2_carat_Tensor2(const Tensor2_Expr< A, T, Dim, Dim1, i, j > &a, const Tensor2_Expr< B, U, Dim, Dim1, k, j > &b)
FTensor::Index< 'k', 3 > k
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim1, Dim, j, i, j, k >::Tensor2_carat_Tensor2 Tensor2_carat_Tensor2(const Tensor2_Expr< A, T, Dim1, Dim, j, i > &a, const Tensor2_Expr< B, U, Dim1, Dim, j, k > &b)
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim, Dim1, Dim1, Dim, i, j, j, k >::iterB const Tensor2_Expr< B, U, Dim1, Dim, j, k > iterB
FTensor::Tensor2_carat_Tensor2< A, B, T, U, Dim1, Dim, Dim, Dim1, j, i, k, j >::operator() promote< T, U >::V operator()(const int N1, const int N2) const