Home
last modified time | relevance | path

Searched refs:singularValues (Results 1 – 14 of 14) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DSingularValueDecompositionImpl.java50 private double[] singularValues; field in SingularValueDecompositionImpl
121 singularValues = eigenDecomposition.getRealEigenvalues(); in SingularValueDecompositionImpl()
132 singularValues = eigenDecomposition.getRealEigenvalues(); in SingularValueDecompositionImpl()
141 singularValues[i] = FastMath.sqrt(FastMath.abs(singularValues[i])); in SingularValueDecompositionImpl()
181 cachedS = MatrixUtils.createRealDiagonalMatrix(singularValues); in getS()
189 return singularValues.clone(); in getSingularValues()
215 final int p = singularValues.length; in getCovariance()
217 while ((dimension < p) && (singularValues[dimension] >= minSingularValue)) { in getCovariance()
224 minSingularValue, singularValues[0]); in getCovariance()
233 data[row][column] = value / singularValues[row]; in getCovariance()
[all …]
/external/eigen/test/
Dsvd_common.h41 sigma.diagonal() = svd.singularValues().template cast<Scalar>(); in svd_check_full()
71 VERIFY_IS_APPROX(svd.singularValues(), referenceSvd.singularValues()); in svd_compare_to_full()
76 …VERIFY_IS_APPROX( svd.matrixV().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matri… in svd_compare_to_full()
77 …referenceSvd.matrixV().leftCols(diagSize) * referenceSvd.singularValues().asDiagonal() * reference… in svd_compare_to_full()
83 …VERIFY_IS_APPROX( svd.matrixU().leftCols(diagSize) * svd.singularValues().cwiseAbs2().asDiagonal()… in svd_compare_to_full()
84 …referenceSvd.matrixU().leftCols(diagSize) * referenceSvd.singularValues().cwiseAbs2().asDiagonal()… in svd_compare_to_full()
267 …VERIFY_IS_APPROX(m, svd.matrixU().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.mat… in svd_test_all_computation_options()
408 VERIFY_IS_APPROX(svd.singularValues(), v); in svd_preallocate()
414 VERIFY_IS_APPROX(svd2.singularValues(), v); in svd_preallocate()
428 VERIFY_IS_APPROX(svd2.singularValues(), v); in svd_preallocate()
[all …]
Dbdcsvd.cpp45 VERIFY_IS_APPROX(m.bdcSvd().singularValues(), RealVecType::Ones()); in bdcsvd_method()
58 VERIFY_IS_APPROX(bdc_svd.singularValues(), jacobi_svd.singularValues()); in compare_bdc_jacobi()
Djacobisvd.cpp67 VERIFY_IS_APPROX(m.jacobiSvd().singularValues(), RealVecType::Ones()); in jacobisvd_method()
Dgeo_transformations.cpp384 } while(t0.linear().jacobiSvd().singularValues()(2)<test_precision<Scalar>()); in transformations()
/external/eigen/lapack/
Dsvd.cpp58 make_vector(s,diag_size) = svd.singularValues().head(diag_size);
126 make_vector(s,diag_size) = svd.singularValues().head(diag_size);
/external/eigen/doc/examples/
Dfunction_taking_ref.cpp8 const VectorXf sing_vals = a.jacobiSvd().singularValues(); in inv_cond()
/external/eigen/doc/snippets/
DJacobiSVD_basic.cpp4 cout << "Its singular values are:" << endl << svd.singularValues() << endl;
/external/eigen/Eigen/src/Geometry/
DUmeyama.h148 const Scalar c = Scalar(1)/src_var * svd.singularValues().dot(S);
DTransform.h1084 VectorType sv(svd.singularValues());
1113 VectorType sv(svd.singularValues());
/external/eigen/Eigen/src/SVD/
DBDCSVD.h255 m_singularValues = jsvd.singularValues();
420 m_computed.diagonal().segment(firstCol + shift, n) = b.singularValues().head(n);
515 …rayXr tmp1 = (m_computed.block(firstCol+shift, firstCol+shift, n, n)).jacobiSvd().singularValues();
520 …rayXr tmp2 = (m_computed.block(firstCol+shift, firstCol+shift, n, n)).jacobiSvd().singularValues();
615 … " << (m_computed.block(firstCol, firstCol, n, n)).jacobiSvd().singularValues().transpose().…
685 std::cout << " * j: " << jsvd.singularValues().transpose() << "\n\n";
DSVDBase.h111 const SingularValuesType& singularValues() const in singularValues() function
/external/eigen/doc/
DAsciiQuickReference.txt207 // .svd() -> .matrixU(), .singularValues(), and .matrixV()
DFunctionsTakingEigenTypes.dox57 sing_vals = a.jacobiSvd().singularValues();