Home
last modified time | relevance | path

Searched refs:maxCoeff (Results 1 – 25 of 58) sorted by relevance

123

/external/eigen/Eigen/src/Core/
DStableNorm.h21 Scalar maxCoeff = bl.cwiseAbs().maxCoeff(); in stable_norm_kernel() local
23 if (maxCoeff>scale) in stable_norm_kernel()
25 ssq = ssq * numext::abs2(scale/maxCoeff); in stable_norm_kernel()
26 Scalar tmp = Scalar(1)/maxCoeff; in stable_norm_kernel()
34 scale = maxCoeff; in stable_norm_kernel()
DVisitor.h209 DenseBase<Derived>::maxCoeff(IndexType* rowPtr, IndexType* colPtr) const
226 DenseBase<Derived>::maxCoeff(IndexType* index) const
/external/eigen/test/
Dvisitor.cpp49 eigen_maxc = m.maxCoeff(&eigen_maxrow,&eigen_maxcol); in matrixVisitor()
57 VERIFY_IS_APPROX(maxc, m.maxCoeff()); in matrixVisitor()
93 eigen_maxc = v.maxCoeff(&eigen_maxidx); in vectorVisitor()
99 VERIFY_IS_APPROX(maxc, v.maxCoeff()); in vectorVisitor()
108 v2.maxCoeff(&eigen_maxidx); in vectorVisitor()
Dredux.cpp44 VERIFY_IS_APPROX(m1.real().maxCoeff(), numext::real(maxc)); in matrixRedux()
55 …VERIFY_IS_APPROX(m1.block(r0,c0,r1,c1).real().maxCoeff(), m1.block(r0,c0,r1,c1).real().eval().maxC… in matrixRedux()
87 VERIFY_IS_APPROX(maxc, v.real().head(i).maxCoeff()); in vectorRedux()
104 VERIFY_IS_APPROX(maxc, v.real().tail(size-i).maxCoeff()); in vectorRedux()
121 VERIFY_IS_APPROX(maxc, v.real().segment(i, size-2*i).maxCoeff()); in vectorRedux()
129 VERIFY_RAISES_ASSERT(v.head(0).maxCoeff()); in vectorRedux()
Dproduct.h16 return !((m1-m2).cwiseAbs2().maxCoeff() < epsilon * epsilon
17 * (std::max)(m1.cwiseAbs2().maxCoeff(), m2.cwiseAbs2().maxCoeff()));
Dgeo_alignedbox.cpp114 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest1()
141 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest2()
Deigensolver_generalized_real.cpp37 VERIFY_IS_EQUAL(eig.eigenvalues().imag().cwiseAbs().maxCoeff(), 0); in generalized_eigensolver_real()
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunctionAtomic.h100 m_mu = e.cwiseAbs().maxCoeff(); in computeMu()
109 const RealScalar F_norm = F.cwiseAbs().rowwise().sum().maxCoeff(); in taylorConverged()
110 const RealScalar Fincr_norm = Fincr.cwiseAbs().rowwise().sum().maxCoeff(); in taylorConverged()
122 const RealScalar P_norm = P.cwiseAbs().rowwise().sum().maxCoeff(); in taylorConverged()
/external/eigen/test/eigen2/
Deigen2_visitor.cpp48 eigen_maxc = m.maxCoeff(&eigen_maxrow,&eigen_maxcol); in matrixVisitor()
56 VERIFY_IS_APPROX(maxc, m.maxCoeff()); in matrixVisitor()
91 eigen_maxc = v.maxCoeff(&eigen_maxidx); in vectorVisitor()
97 VERIFY_IS_APPROX(maxc, v.maxCoeff()); in vectorVisitor()
Dproduct.h17 return !((m1-m2).cwise().abs2().maxCoeff() < epsilon * epsilon
18 * std::max(m1.cwise().abs2().maxCoeff(), m2.cwise().abs2().maxCoeff()));
Deigen2_array.cpp87 Scalar mid = (m1.cwise().abs().minCoeff() + m1.cwise().abs().maxCoeff())/Scalar(2); in comparisons()
111 VERIFY_IS_APPROX(u.template lpNorm<Infinity>(), u.cwise().abs().maxCoeff()); in lpNorm()
/external/eigen/Eigen/src/Eigenvalues/
DMatrixBaseEigenvalues.h132 .maxCoeff()
155 return eigenvalues().cwiseAbs().maxCoeff();
/external/eigen/unsupported/test/
Dpolynomialsolver.cpp128 VERIFY( internal::isApprox( roots.array().abs().maxCoeff(), in evalSolverSugarFunction()
140 VERIFY( internal::isApprox( real_roots.array().abs().maxCoeff(), abs(r), psPrec ) ); } in evalSolverSugarFunction()
152 VERIFY( internal::isApprox( real_roots.array().maxCoeff(), r, psPrec ) ); } in evalSolverSugarFunction()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DScaling.h129 EpsRow = DrRes.maxCoeff(); in compute()
131 EpsCol = DcRes.maxCoeff(); in compute()
/external/eigen/doc/snippets/
DPartialRedux_maxCoeff.cpp3 cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl;
DMatrixBase_colwise.cpp5 << endl << m.cwiseAbs().colwise().maxCoeff() << endl;
DMatrixBase_rowwise.cpp5 << endl << m.cwiseAbs().rowwise().maxCoeff() << endl;
Dtut_arithmetic_redux_minmax.cpp9 int maxOfV = v.maxCoeff(&i);
/external/eigen/doc/examples/
DTutorial_ReductionsVisitorsBroadcasting_colwise.cpp12 << mat.colwise().maxCoeff() << std::endl; in main()
DTutorial_ReductionsVisitorsBroadcasting_rowwise.cpp12 << mat.rowwise().maxCoeff() << std::endl; in main()
Dtut_arithmetic_redux_basic.cpp14 cout << "Here is mat.maxCoeff(): " << mat.maxCoeff() << endl; in main()
DTutorial_ReductionsVisitorsBroadcasting_visitors.cpp16 float max = m.maxCoeff(&maxRow, &maxCol); in main()
DTutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp13 float maxNorm = mat.colwise().sum().maxCoeff(&maxIndex); in main()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c274 WebRtc_Word32 nHP, pHP, wNoisyHP, wPriodicHP, corr, minCorr, maxCoeff; in WebRtcIsacfix_DecodePlcImpl() local
504 maxCoeff = WebRtcSpl_MaxAbsValueW32( in WebRtcIsacfix_DecodePlcImpl()
509 while( maxCoeff > WEBRTC_SPL_WORD16_MAX ) in WebRtcIsacfix_DecodePlcImpl()
511 maxCoeff = WEBRTC_SPL_RSHIFT_W32(maxCoeff, 1); in WebRtcIsacfix_DecodePlcImpl()
/external/eigen/blas/
Dlevel1_impl.h60 if(*incx==1) vector(x,*n).cwiseAbs().maxCoeff(&ret); in EIGEN_CAT()
61 else vector(x,*n,std::abs(*incx)).cwiseAbs().maxCoeff(&ret); in EIGEN_CAT()

123