Searched refs:maxCoeff (Results 1 - 25 of 53) sorted by relevance

123

/external/eigen/doc/snippets/
H A DPartialRedux_maxCoeff.cpp3 cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl;
H A DMatrixBase_colwise.cpp5 << endl << m.cwiseAbs().colwise().maxCoeff() << endl;
H A DMatrixBase_rowwise.cpp5 << endl << m.cwiseAbs().rowwise().maxCoeff() << endl;
H A Dtut_arithmetic_redux_minmax.cpp9 int maxOfV = v.maxCoeff(&i);
/external/eigen/doc/examples/
H A DTutorial_ReductionsVisitorsBroadcasting_colwise.cpp12 << mat.colwise().maxCoeff() << std::endl;
H A DTutorial_ReductionsVisitorsBroadcasting_rowwise.cpp12 << mat.rowwise().maxCoeff() << std::endl;
H A DTutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp13 float maxNorm = mat.colwise().sum().maxCoeff(&maxIndex);
H A DTutorial_ReductionsVisitorsBroadcasting_visitors.cpp16 float max = m.maxCoeff(&maxRow, &maxCol);
H A Dtut_arithmetic_redux_basic.cpp14 cout << "Here is mat.maxCoeff(): " << mat.maxCoeff() << endl;
/external/eigen/test/
H A Dvisitor.cpp49 eigen_maxc = m.maxCoeff(&eigen_maxrow,&eigen_maxcol);
57 VERIFY_IS_APPROX(maxc, m.maxCoeff());
93 eigen_maxc = v.maxCoeff(&eigen_maxidx);
99 VERIFY_IS_APPROX(maxc, v.maxCoeff());
108 v2.maxCoeff(&eigen_maxidx);
H A Dredux.cpp44 VERIFY_IS_APPROX(m1.real().maxCoeff(), numext::real(maxc));
55 VERIFY_IS_APPROX(m1.block(r0,c0,r1,c1).real().maxCoeff(), m1.block(r0,c0,r1,c1).real().eval().maxCoeff());
87 VERIFY_IS_APPROX(maxc, v.real().head(i).maxCoeff());
104 VERIFY_IS_APPROX(maxc, v.real().tail(size-i).maxCoeff());
121 VERIFY_IS_APPROX(maxc, v.real().segment(i, size-2*i).maxCoeff());
129 VERIFY_RAISES_ASSERT(v.head(0).maxCoeff());
H A Deigensolver_generalized_real.cpp37 VERIFY_IS_EQUAL(eig.eigenvalues().imag().cwiseAbs().maxCoeff(), 0);
H A Dproduct.h16 return !((m1-m2).cwiseAbs2().maxCoeff() < epsilon * epsilon
17 * (std::max)(m1.cwiseAbs2().maxCoeff(), m2.cwiseAbs2().maxCoeff()));
/external/eigen/test/eigen2/
H A Deigen2_visitor.cpp48 eigen_maxc = m.maxCoeff(&eigen_maxrow,&eigen_maxcol);
56 VERIFY_IS_APPROX(maxc, m.maxCoeff());
91 eigen_maxc = v.maxCoeff(&eigen_maxidx);
97 VERIFY_IS_APPROX(maxc, v.maxCoeff());
H A Dproduct.h17 return !((m1-m2).cwise().abs2().maxCoeff() < epsilon * epsilon
18 * std::max(m1.cwise().abs2().maxCoeff(), m2.cwise().abs2().maxCoeff()));
H A Deigen2_array.cpp87 Scalar mid = (m1.cwise().abs().minCoeff() + m1.cwise().abs().maxCoeff())/Scalar(2);
111 VERIFY_IS_APPROX(u.template lpNorm<Infinity>(), u.cwise().abs().maxCoeff());
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixFunctionAtomic.h100 m_mu = e.cwiseAbs().maxCoeff();
109 const RealScalar F_norm = F.cwiseAbs().rowwise().sum().maxCoeff();
110 const RealScalar Fincr_norm = Fincr.cwiseAbs().rowwise().sum().maxCoeff();
122 const RealScalar P_norm = P.cwiseAbs().rowwise().sum().maxCoeff();
/external/eigen/Eigen/src/Eigenvalues/
H A DMatrixBaseEigenvalues.h127 // then we don't need to compute a maxCoeff() here, comparing the 1st and last ones is enough.
132 .maxCoeff()
155 return eigenvalues().cwiseAbs().maxCoeff();
/external/eigen/Eigen/src/Core/
H A DStableNorm.h21 Scalar maxCoeff = bl.cwiseAbs().maxCoeff();
23 if (maxCoeff>scale)
25 ssq = ssq * numext::abs2(scale/maxCoeff);
26 Scalar tmp = Scalar(1)/maxCoeff;
34 scale = maxCoeff;
39 // TODO if the maxCoeff is much much smaller than the current scale,
H A DVisitor.h73 * \sa minCoeff(Index*,Index*), maxCoeff(Index*,Index*), DenseBase::redux()
140 * \sa DenseBase::maxCoeff(Index*, Index*)
170 * \sa DenseBase::minCoeff(Index*), DenseBase::maxCoeff(Index*,Index*), DenseBase::visitor(), DenseBase::minCoeff()
187 * \sa DenseBase::minCoeff(IndexType*,IndexType*), DenseBase::maxCoeff(IndexType*,IndexType*), DenseBase::visitor(), DenseBase::minCoeff()
204 * \sa DenseBase::minCoeff(IndexType*,IndexType*), DenseBase::visitor(), DenseBase::maxCoeff()
209 DenseBase<Derived>::maxCoeff(IndexType* rowPtr, IndexType* colPtr) const function in class:Eigen::DenseBase
221 * \sa DenseBase::maxCoeff(IndexType*,IndexType*), DenseBase::minCoeff(IndexType*,IndexType*), DenseBase::visitor(), DenseBase::maxCoeff()
226 DenseBase<Derived>::maxCoeff(IndexType* index) const function in class:Eigen::DenseBase
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DScaling.h129 EpsRow = DrRes.maxCoeff();
131 EpsCol = DcRes.maxCoeff();
/external/eigen/unsupported/test/
H A Dpolynomialsolver.cpp130 VERIFY( internal::isApprox( roots.array().abs().maxCoeff(),
142 VERIFY( internal::isApprox( real_roots.array().abs().maxCoeff(), abs(r), psPrec ) ); }
154 VERIFY( internal::isApprox( real_roots.array().maxCoeff(), r, psPrec ) ); }
H A Dpolynomialutils.cpp78 _Scalar Max = roots.array().abs().maxCoeff();
/external/eigen/Eigen/src/QR/
H A DColPivHouseholderQR_MKL.h73 m_maxpivot=m_qr.diagonal().cwiseAbs().maxCoeff(); \
/external/eigen/blas/
H A Dlevel1_impl.h60 if(*incx==1) vector(x,*n).cwiseAbs().maxCoeff(&ret);
61 else vector(x,*n,std::abs(*incx)).cwiseAbs().maxCoeff(&ret);

Completed in 2433 milliseconds

123