Lines Matching refs:ComplexScalar
74 typedef std::complex<RealScalar> ComplexScalar;
78 * This is a square matrix with entries of type #ComplexScalar.
81 typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime, MaxColsAtCompileTime> ComplexMatrixType;
255 ComplexScalar computeShift(Index iu, Index iter);
270 m_matT.coeffRef(i+1,i) = ComplexScalar(0);
279 typename ComplexSchur<MatrixType>::ComplexScalar ComplexSchur<MatrixType>::computeShift(Index iu, Index iter)
290 Matrix<ComplexScalar,2,2> t = m_matT.template block<2,2>(iu-1,iu-1);
294 ComplexScalar b = t.coeff(0,1) * t.coeff(1,0);
295 ComplexScalar c = t.coeff(0,0) - t.coeff(1,1);
296 ComplexScalar disc = sqrt(c*c + RealScalar(4)*b);
297 ComplexScalar det = t.coeff(0,0) * t.coeff(1,1) - b;
298 ComplexScalar trace = t.coeff(0,0) + t.coeff(1,1);
299 ComplexScalar eival1 = (trace + disc) / RealScalar(2);
300 ComplexScalar eival2 = (trace - disc) / RealScalar(2);
323 m_matT = matrix.template cast<ComplexScalar>();
366 typedef typename ComplexSchur<MatrixType>::ComplexScalar ComplexScalar;
368 // Note: m_hess is over RealScalar; m_matT and m_matU is over ComplexScalar
370 _this.m_matT = _this.m_hess.matrixH().template cast<ComplexScalar>();
375 _this.m_matU = Q.template cast<ComplexScalar>();
428 ComplexScalar shift = computeShift(iu, iter);
429 JacobiRotation<ComplexScalar> rot;
438 ComplexScalar(0);