Lines Matching refs:RealScalar
33 typename Dest::RealScalar& tol_error) in minres()
36 typedef typename Dest::RealScalar RealScalar; in minres() typedef
43 const RealScalar rhsNorm2(rhs.squaredNorm()); in minres()
44 …const RealScalar threshold2(tol_error*tol_error*rhsNorm2); // convergence threshold (compared to r… in minres()
50 RealScalar residualNorm2(v_new.squaredNorm()); in minres()
54 RealScalar beta_new2(v_new.dot(w_new)); in minres()
56 RealScalar beta_new(sqrt(beta_new2)); in minres()
57 const RealScalar beta_one(beta_new); in minres()
61 RealScalar c(1.0); // the cosine of the Givens rotation in minres()
62 RealScalar c_old(1.0); in minres()
63 RealScalar s(0.0); // the sine of the Givens rotation in minres()
64 RealScalar s_old(0.0); // the sine of the Givens rotation in minres()
68 RealScalar eta(1.0); in minres()
83 const RealScalar beta(beta_new); in minres()
90 const RealScalar alpha = v_new.dot(w); in minres()
100 …const RealScalar r2 =s*alpha+c*c_old*beta; // s, s_old, c and c_old are still from previous iterat… in minres()
101 … const RealScalar r3 =s_old*beta; // s, s_old, c and c_old are still from previous iteration in minres()
102 const RealScalar r1_hat=c*alpha-c_old*s*beta; in minres()
103 const RealScalar r1 =sqrt( std::pow(r1_hat,2) + std::pow(beta_new,2) ); in minres()
208 typedef typename MatrixType::RealScalar RealScalar;