Lines Matching refs:scaledMat
640 MatrixType scaledMat = mat.template selfadjointView<Lower>();
641 scaledMat.diagonal().array() -= shift;
642 Scalar scale = scaledMat.cwiseAbs().maxCoeff();
643 if(scale > 0) scaledMat /= scale; // TODO for scale==0 we could save the remaining operations
646 computeRoots(scaledMat,eivals);
659 tmp = scaledMat;
688 tmp = scaledMat;
746 MatrixType scaledMat = mat;
747 scaledMat.coeffRef(0,1) = mat.coeff(1,0);
748 scaledMat.diagonal().array() -= shift;
749 Scalar scale = scaledMat.cwiseAbs().maxCoeff();
751 scaledMat /= scale;
754 computeRoots(scaledMat,eivals);
765 scaledMat.diagonal().array () -= eivals(1);
766 Scalar a2 = numext::abs2(scaledMat(0,0));
767 Scalar c2 = numext::abs2(scaledMat(1,1));
768 Scalar b2 = numext::abs2(scaledMat(1,0));
771 eivecs.col(1) << -scaledMat(1,0), scaledMat(0,0);
776 eivecs.col(1) << -scaledMat(1,1), scaledMat(1,0);