Commit e6d2f754 by Guillaume Demesy

debug TensorSym and Rotate

parent e92e1353
Pipeline #127 passed with stage
in 43 seconds
......@@ -1885,21 +1885,21 @@ void Cal_RotateValue(struct Value *V1, struct Value *V2, struct Value *R)
#define B0r V2->Val[MAX_DIM* k +0]
#define B1r V2->Val[MAX_DIM* k +1]
#define B2r V2->Val[MAX_DIM* k +2]
#define B3r V2->Val[MAX_DIM* k +3]
#define B4r V2->Val[MAX_DIM* k +4]
#define B5r V2->Val[MAX_DIM* k +5]
#define B6r V2->Val[MAX_DIM* k +6]
#define B7r V2->Val[MAX_DIM* k +7]
#define B8r V2->Val[MAX_DIM* k +8]
#define B3r V2->Val[MAX_DIM* k +1]
#define B4r V2->Val[MAX_DIM* k +3]
#define B5r V2->Val[MAX_DIM* k +4]
#define B6r V2->Val[MAX_DIM* k +2]
#define B7r V2->Val[MAX_DIM* k +4]
#define B8r V2->Val[MAX_DIM* k +5]
#define B0i V2->Val[MAX_DIM*(k+1)+0]
#define B1i V2->Val[MAX_DIM*(k+1)+1]
#define B2i V2->Val[MAX_DIM*(k+1)+2]
#define B3i V2->Val[MAX_DIM*(k+1)+3]
#define B4i V2->Val[MAX_DIM*(k+1)+4]
#define B5i V2->Val[MAX_DIM*(k+1)+5]
#define B6i V2->Val[MAX_DIM*(k+1)+6]
#define B7i V2->Val[MAX_DIM*(k+1)+7]
#define B8i V2->Val[MAX_DIM*(k+1)+8]
#define B3i V2->Val[MAX_DIM*(k+1)+1]
#define B4i V2->Val[MAX_DIM*(k+1)+3]
#define B5i V2->Val[MAX_DIM*(k+1)+4]
#define B6i V2->Val[MAX_DIM*(k+1)+2]
#define B7i V2->Val[MAX_DIM*(k+1)+4]
#define B8i V2->Val[MAX_DIM*(k+1)+5]
#define AFFECT(i) \
A.Val[MAX_DIM* k +i] = t0*B0r+t1*B3r+t2*B6r+t3*B1r+t4*B4r+t5*B7r+t6*B2r+t7*B5r+t8*B8r; \
A.Val[MAX_DIM*(k+1)+i] = t0*B0i+t1*B3i+t2*B6i+t3*B1i+t4*B4i+t5*B7i+t6*B2i+t7*B5i+t8*B8i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment