Home
last modified time | relevance | path

Searched refs:topLeftCorner (Results 1 – 25 of 54) sorted by relevance

123

/external/eigen/test/
Dcorners.cpp28 COMPARE_CORNER(topLeftCorner(r,c), block(0,0,r,c)); in corners()
60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0))); in corners_fixedsize()
65 …VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template topLeftCorner<r,Dynamic>(… in corners_fixedsize()
70 …VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template topLeftCorner<Dynamic,c>(… in corners_fixedsize()
82 …VERIFY_IS_EQUAL((const_matrix.template topLeftCorner<r,c>()), (const_matrix.template block<r,c>(0,… in corners_fixedsize()
87 …VERIFY_IS_EQUAL((const_matrix.template topLeftCorner<r,c>()), (const_matrix.template topLeftCorner in corners_fixedsize()
92 …VERIFY_IS_EQUAL((const_matrix.template topLeftCorner<r,c>()), (const_matrix.template topLeftCorner in corners_fixedsize()
Dinverse.cpp76 m5.topLeftCorner(rows,rows) = m1; in inverse()
77 …m2 = m5.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>().inve… in inverse()
78 …VERIFY_IS_APPROX( (m5.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompi… in inverse()
Dproduct_small.cpp196 …C.noalias() = A.template topLeftCorner<1,M>() * (B.template topRows<M>()+B.template bottomRows<M>(… in test_linear_but_not_vectorizable()
197 …R.noalias() = A.template topLeftCorner<1,M>() * (B.template topRows<M>()+B.template bottomRows<M>(… in test_linear_but_not_vectorizable()
207 …() = (B.template leftCols<M>()+B.template rightCols<M>()) * A.template topLeftCorner<M,1>(); in test_linear_but_not_vectorizable()
208 …() = (B.template leftCols<M>()+B.template rightCols<M>()).eval() * A.template topLeftCorner<M,1>(); in test_linear_but_not_vectorizable()
Ddiagonalmatrices.cpp111 Matrix2d tmp2 = points.topLeftCorner<2,2>(); in bug987()
112 …VERIFY_IS_APPROX(( res1 = points.topLeftCorner<2,2>()*diag.asDiagonal()) , res2 = tmp2*diag.asDiag… in bug987()
/external/eigen/doc/examples/
Dclass_Block.cpp8 topLeftCorner(MatrixBase<Derived>& m, int rows, int cols) in topLeftCorner() function
15 topLeftCorner(const MatrixBase<Derived>& m, int rows, int cols) in topLeftCorner() function
23 cout << topLeftCorner(4*m, 2, 3) << endl; // calls the const version in main()
24 topLeftCorner(m, 2, 3) *= 5; // calls the non-const version in main()
DTutorial_BlockOperations_corner.cpp15 m.topLeftCorner(1,3) = m.bottomRightCorner(3,1).transpose(); in main()
Dfunction_taking_ref.cpp17 cout << "inv_cond(m(1:3,1:3)): " << inv_cond(m.topLeftCorner(3,3)) << endl; in main()
DTemplateKeyword_flexible.cpp19 copyUpperTriangularPart(m2, m1.topLeftCorner(4,4)); in main()
/external/eigen/doc/snippets/
DMatrixBase_template_int_int_topLeftCorner.cpp4 cout << m.topLeftCorner<2,2>() << endl;
5 m.topLeftCorner<2,2>().setZero();
DMatrixBase_topLeftCorner_int_int.cpp4 cout << m.topLeftCorner(2, 2) << endl;
5 m.topLeftCorner(2, 2).setZero();
DMatrixBase_template_int_int_topLeftCorner_int_int.cpp4 cout << m.topLeftCorner<2,Dynamic>(2,2) << endl;
5 m.topLeftCorner<2,Dynamic>(2,2).setZero();
DTutorial_AdvancedInitialization_ThreeWays.cpp3 mat1.topLeftCorner(size/2, size/2) = MatrixXd::Zero(size/2, size/2);
10 mat2.topLeftCorner(size/2, size/2).setZero();
DTopicAliasing_block.cpp6 mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2);
DTopicAliasing_block_correct.cpp6 mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2).eval();
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Dqrsolv.h35 … s.topLeftCorner(n,n).template triangularView<StrictlyLower>() = s.topLeftCorner(n,n).transpose(); in qrsolv()
79 …s.topLeftCorner(nsing, nsing).transpose().template triangularView<Upper>().solveInPlace(wa.head(ns… in qrsolv()
Dcovar.h64 … r.topLeftCorner(n,n).template triangularView<StrictlyUpper>() = r.topLeftCorner(n,n).transpose();
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMqrsolv.h48 … s.topLeftCorner(n,n).template triangularView<StrictlyLower>() = s.topLeftCorner(n,n).transpose(); in lmqrsolv()
91 …s.topLeftCorner(nsing, nsing).transpose().template triangularView<Upper>().solveInPlace(wa.head(ns… in lmqrsolv()
178 …wa.head(nsing) = R.topLeftCorner(nsing,nsing).template triangularView<Upper>().solve/*InPlace*/(wa… in lmqrsolv()
DLMcovar.h76 … r.topLeftCorner(n,n).template triangularView<StrictlyUpper>() = r.topLeftCorner(n,n).transpose();
DLMpar.h65 …wa1.head(rank) = s.topLeftCorner(rank,rank).template triangularView<Upper>().solve(qtb.head(rank)); in lmpar2()
87 s.topLeftCorner(n,n).transpose().template triangularView<Lower>().solveInPlace(wa1); in lmpar2()
/external/eigen/Eigen/src/LU/
DFullPivLU.h686 m.topLeftCorner(rank(), rank())
775 m_lu.topLeftCorner(smalldim,smalldim)
782 m_lu.topLeftCorner(nonzero_pivots, nonzero_pivots)
826 m_lu.topLeftCorner(nonzero_pivots, nonzero_pivots)
831 m_lu.topLeftCorner(smalldim, smalldim)
837 m_lu.topLeftCorner(nonzero_pivots, nonzero_pivots)
842 m_lu.topLeftCorner(smalldim, smalldim)
/external/eigen/Eigen/src/Geometry/
DUmeyama.h152 Rt.col(m).head(m).noalias() -= c*Rt.topLeftCorner(m,m)*src_mean;
158 Rt.col(m).head(m).noalias() -= Rt.topLeftCorner(m,m)*src_mean;
/external/eigen/Eigen/src/plugins/
DBlockMethods.h178 inline BlockXpr topLeftCorner(Index cRows, Index cCols) in topLeftCorner() function
185 inline const ConstBlockXpr topLeftCorner(Index cRows, Index cCols) const in topLeftCorner() function
203 inline typename FixedBlockXpr<CRows,CCols>::Type topLeftCorner() in topLeftCorner() function
211 inline const typename ConstFixedBlockXpr<CRows,CCols>::Type topLeftCorner() const in topLeftCorner() function
236 inline typename FixedBlockXpr<CRows,CCols>::Type topLeftCorner(Index cRows, Index cCols) in topLeftCorner() function
243 inline const typename ConstFixedBlockXpr<CRows,CCols>::Type topLeftCorner(Index cRows, Index cCols)… in topLeftCorner() function
/external/eigen/doc/
DTutorialBlockOperations.dox106 matrix or array. For instance, \link DenseBase::topLeftCorner() .topLeftCorner() \endlink can be us…
115 <tr><td>Top-left p by q block \link DenseBase::topLeftCorner() * \endlink</td>
117 matrix.topLeftCorner(p,q);\endcode </td>
119 matrix.topLeftCorner<p,q>();\endcode </td>
/external/eigen/Eigen/src/SVD/
DUpperBidiagonalization.h269 A11.noalias() -= A10 * Y.topLeftCorner(bcols,bs).bottomRows(bcols-bs).adjoint(); in upperbidiagonalization_blocked_helper()
270 A11.noalias() -= X.topLeftCorner(brows,bs).bottomRows(brows-bs) * A01; in upperbidiagonalization_blocked_helper()
351 X.topLeftCorner(brows,bs),
352 Y.topLeftCorner(bcols,bs)
/external/eigen/unsupported/test/
Dkronecker_product.cpp111 Matrix<double, 6, 6> DM_fix_ab = kroneckerProduct(DM_a.topLeftCorner<2,3>(),DM_b); in test_kronecker_product()
114 CALL_SUBTEST(check_kronecker_product(kroneckerProduct(DM_a.topLeftCorner<2,3>(),DM_b))); in test_kronecker_product()

123