Solving system Ax=b in linear least squares fashion with complex elements and lower-triangular square A matrix

前端 未结 1 1236
-上瘾入骨i
-上瘾入骨i 2021-01-26 06:26

I would like to solve the linear system Ax = b in a linear least squares fashion, thereby obtaining x. Matrices A, x and

相关标签:
1条回答
  • 2021-01-26 06:51

    Since std::complex is a template class, and you init with std::complex(1,1); the compiler doesn't know what type it is.

    Use std::complex<double>(1, 1); instead.

    0 讨论(0)
提交回复
热议问题