Lines Matching refs:m_sigma
56 m_sigma((std::min)(matrix.rows(),matrix.cols())) in SVD()
65 const SingularValuesType& singularValues() const { return m_sigma; } in singularValues()
86 SingularValuesType m_sigma; variable
104 m_sigma.resize((std::min)(m,n)); in compute()
124 m_sigma[k] = matA.col(k).end(m-k).norm(); in compute()
125 if (m_sigma[k] != 0.0) // FIXME in compute()
128 m_sigma[k] = -m_sigma[k]; in compute()
129 matA.col(k).end(m-k) /= m_sigma[k]; in compute()
132 m_sigma[k] = -m_sigma[k]; in compute()
137 if ((k < nct) && (m_sigma[k] != 0.0)) in compute()
185 m_sigma[nct] = matA(nct,nct); in compute()
187 m_sigma[p-1] = 0.0; in compute()
202 if (m_sigma[k] != 0.0) in compute()
267 if (ei_abs(e[k]) <= eps*(ei_abs(m_sigma[k]) + ei_abs(m_sigma[k+1]))) in compute()
285 if (ei_abs(m_sigma[ks]) <= eps*t) in compute()
287 m_sigma[ks] = 0.0; in compute()
318 Scalar t(internal::hypot(m_sigma[j],f)); in compute()
319 Scalar cs(m_sigma[j]/t); in compute()
321 m_sigma[j] = t; in compute()
347 Scalar t(internal::hypot(m_sigma[j],f)); in compute()
348 Scalar cs( m_sigma[j]/t); in compute()
350 m_sigma[j] = t; in compute()
371 ei_abs(m_sigma[p-1]),ei_abs(m_sigma[p-2])),ei_abs(e[p-2])), in compute()
372 ei_abs(m_sigma[k])),ei_abs(e[k])); in compute()
373 Scalar sp = m_sigma[p-1]/scale; in compute()
374 Scalar spm1 = m_sigma[p-2]/scale; in compute()
376 Scalar sk = m_sigma[k]/scale; in compute()
400 f = cs*m_sigma[j] + sn*e[j]; in compute()
401 e[j] = cs*e[j] - sn*m_sigma[j]; in compute()
402 g = sn*m_sigma[j+1]; in compute()
403 m_sigma[j+1] = cs*m_sigma[j+1]; in compute()
416 m_sigma[j] = t; in compute()
417 f = cs*e[j] + sn*m_sigma[j+1]; in compute()
418 m_sigma[j+1] = -sn*e[j] + cs*m_sigma[j+1]; in compute()
440 if (m_sigma[k] <= 0.0) in compute()
442 m_sigma[k] = m_sigma[k] < Scalar(0) ? -m_sigma[k] : Scalar(0); in compute()
450 if (m_sigma[k] >= m_sigma[k+1]) in compute()
452 Scalar t = m_sigma[k]; in compute()
453 m_sigma[k] = m_sigma[k+1]; in compute()
454 m_sigma[k+1] = t; in compute()
479 Scalar p = m_sigma.coeff(i); in sort()
483 if (m_sigma.coeff(j) > p) in sort()
486 p = m_sigma.coeff(j); in sort()
491 m_sigma.coeffRef(k) = m_sigma.coeff(i); // i.e. in sort()
492 m_sigma.coeffRef(i) = p; // swaps the i-th and the k-th elements in sort()
518 Scalar maxVal = m_sigma.cwise().abs().maxCoeff(); in solve()
525 Scalar si = m_sigma.coeff(i); in solve()
552 if(positive) *positive = m_matV * m_sigma.asDiagonal() * m_matV.adjoint(); in computeUnitaryPositive()
570 if(positive) *positive = m_matU * m_sigma.asDiagonal() * m_matU.adjoint(); in computePositiveUnitary()
588 Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> sv(m_sigma); in computeRotationScaling()
614 Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> sv(m_sigma); in computeScalingRotation()