Home
last modified time | relevance | path

Searched refs:cwiseProduct (Results 1 – 25 of 42) sorted by relevance

12

/external/eigen/blas/
Ddouble.cpp26 …if(*incx==1 && *incy==1) return (make_vector(x,*n).cast<double>().cwiseProduct(make_vector(y,*n… in EIGEN_BLAS_FUNC()
27 …else if(*incx>0 && *incy>0) return (make_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vecto… in EIGEN_BLAS_FUNC()
28 …&& *incy>0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(make_vector(y,*… in EIGEN_BLAS_FUNC()
29 …else if(*incx>0 && *incy<0) return (make_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vecto… in EIGEN_BLAS_FUNC()
30 …&& *incy<0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(make_vector(y,*… in EIGEN_BLAS_FUNC()
Dlevel1_real_impl.h58 if(*incx==1 && *incy==1) return (make_vector(x,*n).cwiseProduct(make_vector(y,*n))).sum(); in EIGEN_BLAS_FUNC()
59 …else if(*incx>0 && *incy>0) return (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,*incy)))… in EIGEN_BLAS_FUNC()
60 …else if(*incx<0 && *incy>0) return (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,… in EIGEN_BLAS_FUNC()
61 …else if(*incx>0 && *incy<0) return (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,-*incy).… in EIGEN_BLAS_FUNC()
62 …else if(*incx<0 && *incy<0) return (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,… in EIGEN_BLAS_FUNC()
Dlevel1_cplx_impl.h98 if(*incx==1 && *incy==1) *res = (make_vector(x,*n).cwiseProduct(make_vector(y,*n))).sum();
99 …else if(*incx>0 && *incy>0) *res = (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,*incy)))…
100 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,…
101 …else if(*incx>0 && *incy<0) *res = (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,-*incy).…
102 …else if(*incx<0 && *incy<0) *res = (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,…
DPackedTriangularSolverVector.h38 .cwiseProduct(Map<const Matrix<RhsScalar,Dynamic,1> >(rhs+(IsLower ? 0 : i+1),pi))).sum();
DPackedTriangularMatrixVector.h69 …res[i] += alpha * (ConjLhsType(LhsMap(lhs+s,r)).cwiseProduct(ConjRhsType(RhsMap(rhs+(IsLower ? 0 :…
DBandTriangularSolver.h48 … .cwiseProduct(other.col(col).segment(IsLower ? i-actual_k : i+1,actual_k)).sum();
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DHybridNonLinearSolver.h213 xnorm = diag.cwiseProduct(x).stableNorm(); in solveOneStep()
242 pnorm = diag.cwiseProduct(wa1).stableNorm(); in solveOneStep()
290 wa2 = diag.cwiseProduct(x); in solveOneStep()
326 wa1 = diag.cwiseProduct( diag.cwiseProduct(wa1)/pnorm ); in solveOneStep()
456 xnorm = diag.cwiseProduct(x).stableNorm(); in solveNumericalDiffOneStep()
485 pnorm = diag.cwiseProduct(wa1).stableNorm(); in solveNumericalDiffOneStep()
533 wa2 = diag.cwiseProduct(x); in solveNumericalDiffOneStep()
569 wa1 = diag.cwiseProduct( diag.cwiseProduct(wa1)/pnorm ); in solveNumericalDiffOneStep()
Dlmpar.h62 wa2 = diag.cwiseProduct(x); in lmpar()
119 wa2 = diag.cwiseProduct(x); in lmpar()
210 wa2 = diag.cwiseProduct(x); in lmpar2()
223 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2)/dxnorm; in lmpar2()
258 wa2 = diag.cwiseProduct(x); in lmpar2()
270 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2/dxnorm); in lmpar2()
DLevenbergMarquardt.h245 xnorm = diag.cwiseProduct(x).stableNorm(); in minimizeOneStep()
280 pnorm = diag.cwiseProduct(wa1).stableNorm(); in minimizeOneStep()
331 wa2 = diag.cwiseProduct(x); in minimizeOneStep()
501 xnorm = diag.cwiseProduct(x).stableNorm(); in minimizeOptimumStorageOneStep()
530 pnorm = diag.cwiseProduct(wa1).stableNorm(); in minimizeOptimumStorageOneStep()
581 wa2 = diag.cwiseProduct(x); in minimizeOptimumStorageOneStep()
Ddogleg.h47 qnorm = diag.cwiseProduct(x).stableNorm(); in dogleg()
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMpar.h73 wa2 = diag.cwiseProduct(x); in lmpar2()
86 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2)/dxnorm; in lmpar2()
120 wa2 = diag.cwiseProduct(x); in lmpar2()
132 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2/dxnorm); in lmpar2()
DLMonestep.h61 xnorm = m_diag.cwiseProduct(x).stableNorm(); in minimizeOneStep()
97 pnorm = m_diag.cwiseProduct(m_wa1).stableNorm(); in minimizeOneStep()
148 m_wa2 = m_diag.cwiseProduct(x); in minimizeOneStep()
/external/eigen/doc/snippets/
DMatrixBase_cwiseProduct.cpp2 Matrix3i c = a.cwiseProduct(b);
/external/eigen/doc/examples/
DTutorial_ArrayClass_interop_matrix.cpp22 result = m.cwiseProduct(n); in main()
/external/eigen/test/
Dsparse_basic.cpp176 VERIFY_IS_APPROX(m3.cwiseProduct(m1+m2), refM3.cwiseProduct(refM1+refM2)); in sparse_basic()
199 VERIFY_IS_APPROX(m3.cwiseProduct(refM4), refM3.cwiseProduct(refM4)); in sparse_basic()
201 VERIFY_IS_APPROX(refM4.cwiseProduct(m3), refM4.cwiseProduct(refM3)); in sparse_basic()
211 …IFY_IS_APPROX((RealScalar(0.5)*refM4 + m3.cwiseProduct(m3)).eval(), RealScalar(0.5)*refM4 + refM3. in sparse_basic()
Dlinearstructure.cpp70 VERIFY_IS_APPROX(m1.cwiseProduct(m1.block(0,0,rows,cols)), m1.cwiseProduct(m1)); in linearStructure()
Dvectorization_logic.cpp149 VERIFY(test_assign(Vector1(),Vector1().cwiseProduct(Vector1()), in run()
188 VERIFY(test_assign(Matrix3(),Matrix3().cwiseProduct(Matrix3()), in run()
314 VERIFY(test_assign(Vector1(),Vector1().cwiseProduct(Vector1()), in run()
Dredux.cpp54 …VERIFY_IS_APPROX((m1.matrix() * m1.matrix().transpose()) .cwiseProduct(m2.matrix()).rowwise(… in matrixRedux()
55 … (m1.matrix() * m1.matrix().transpose()).eval().cwiseProduct(m2.matrix()).rowwise().sum().sum()); in matrixRedux()
Dproduct_small.cpp23 matAstatic.cwiseProduct(matBstatic.transpose()).sum() ); in product1x1()
30 matAdynamic.cwiseProduct(matBdynamic.transpose()).sum() ); in product1x1()
/external/eigen/Eigen/src/LU/
DInverseImpl.h172 const Scalar det = (cofactors_col0.cwiseProduct(matrix.col(0))).sum();
195 determinant = (cofactors_col0.cwiseProduct(matrix.col(0))).sum();
255 result /= (matrix.col(0).cwiseProduct(result.row(0).transpose())).sum();
/external/eigen/Eigen/src/plugins/
DMatrixCwiseBinaryOps.h23 cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const in EIGEN_CWISE_BINARY_RETURN_TYPE()
/external/eigen/Eigen/src/Eigenvalues/
DGeneralizedEigenSolver.h349 …v.coeffRef(j) = -v.segment(st,sz).transpose().cwiseProduct(beta*mS.block(j,st,1,sz) - alpha*mT.blo… in compute()
398 …cv.coeffRef(j) = cv.segment(st,sz).transpose().cwiseProduct(beta*mS.block(j,st,1,sz) - alpha*mT.b… in compute()
/external/eigen/Eigen/src/Core/
DMatrixBase.h451 cwiseProduct(const SparseMatrixBase<OtherDerived> &other) const in cwiseProduct() function
453 return other.cwiseProduct(derived()); in cwiseProduct()
/external/eigen/Eigen/src/Core/products/
DTriangularSolverVector.h78 …rhs[i] -= (cjLhs.row(i).segment(s,k).transpose().cwiseProduct(Map<const Matrix<RhsScalar,Dynamic,1…
/external/eigen/Eigen/src/Geometry/
DAngleAxis.h240 res.diagonal() = (cos1_axis.cwiseProduct(m_axis)).array() + c;

12