|
| v0.14.0
|
Go to the documentation of this file.
7 template <
int Dim0,
int Dim1,
char i,
char j>
struct Permutation2
11 template <
class B,
class U>
18 template <
class B,
class U>
25 template <
class B,
class U,
int Dim1_0,
int Dim1_1,
char i1,
char j1>
29 static_assert(error_when_instantiated<B>(),
"Incompatible indices");
33 template <
class B,
class U>
36 return *rhs.ptr(N0, N1);
39 template <
class B,
class U>
42 return rhs.ptr(N0, N1);;
45 template <
class B,
class U,
int Dim1_0,
int Dim1_1,
char i1,
char j1>
48 static_assert(error_when_instantiated<B>(),
"Incompatible indices");
49 return rhs.ptr(N0, N1);;
U eval(const Tensor2_Expr< B, U, Dim0, Dim1, i, j > &rhs, const int N0, const int N1)
U & eval_ref(const Tensor2_Expr< B, U, Dim0, Dim1, i, j > &rhs, const int N0, const int N1)
U eval(const Tensor2_Expr< B, U, Dim1_0, Dim1_1, i1, j1 > &rhs, const int N0, const int N1)
U & eval_ref(const Tensor2_Expr< B, U, Dim1_0, Dim1_1, i1, j1 > &rhs, const int N0, const int N1)
U eval(const Tensor2_Expr< B, U, Dim1, Dim0, j, i > &rhs, const int N0, const int N1)
U & eval_ref(const Tensor2_Expr< B, U, Dim1, Dim0, j, i > &rhs, const int N0, const int N1)