我有一个矩阵,女巫的形式为
A = [[a_{0},a_{1},a_{2},a_{3}],
[s_{0} , 0 , 0 , b_{2}],
[0 , s_{1} , 0 , b_{1}],
[0 , 0 , s_{2} , b_{0}]]
我想用一个形式为A的女巫创建一个双陪伴矩阵C,
C= [[a_{0}, a_{1}s_{0} , a_{2}s_{0}s_{1} , a_{3}s_{0}s_{1}s_{2}],
[1 ,0 , 0 , b_{2}s_{1}s_{2}],
[0 ,1 ,0, b_{1}s_{2}],
[0 ,0 ,1, b_{0}]]
我需要帮助来从A构造这个双伴随矩阵C 矩阵