目的:想把SuperMatrix格式的矩阵B存入Matrix <Complex, Dynamic, Dynamic>格式的矩阵phinodeUn中。
doublecomplex* dnMatrix = reinterpret_cast<doublecomplex*>(superMatrix.Store);强制转换格式不正确,最终dnMatrix没有指向superMatrix矩阵。
不知道应该怎么读取SuperMatrix矩阵中的元素,求大佬指教!!!
65,187
社区成员
250,526
社区内容
加载中
试试用AI创作助手写篇文章吧