Home
last modified time | relevance | path

Searched refs:topRows (Results 1 – 25 of 32) sorted by relevance

12

/external/eigen/doc/snippets/
DMatrixBase_topRows_int.cpp4 cout << a.topRows(2) << endl;
5 a.topRows(2).setZero();
DMatrixBase_template_int_topRows.cpp4 cout << a.topRows<2>() << endl;
5 a.topRows<2>().setZero();
/external/eigen/test/
Ddiagonalmatrices.cpp71 DynMatrixType tmp = m1.topRows(rows/2), res; in diagonalmatrices()
72 VERIFY_IS_APPROX( (res = m1.topRows(rows/2) * rv1.asDiagonal()), tmp * rv1.asDiagonal() ); in diagonalmatrices()
73 …VERIFY_IS_APPROX( (res = v1.head(rows/2).asDiagonal()*m1.topRows(rows/2)), v1.head(rows/2).asDiago… in diagonalmatrices()
109 Matrix2Xd tmp1 = points.topRows<2>(), res1, res2; in bug987()
110 …VERIFY_IS_APPROX( res1 = diag.asDiagonal() * points.topRows<2>(), res2 = diag.asDiagonal() * tmp1 … in bug987()
Dinplace_decomposition.cpp33 A.topRows(cols) = A.topRows(cols).adjoint() * A.topRows(cols); in inplace()
Dcorners.cpp38 COMPARE_CORNER(topRows(r), block(0,0,r,cols)); in corners()
75 VERIFY_IS_EQUAL((matrix.template topRows<r>()), (matrix.template block<r,cols>(0,0))); in corners_fixedsize()
97 VERIFY_IS_EQUAL((const_matrix.template topRows<r>()), (const_matrix.template block<r,cols>(0,0))); in corners_fixedsize()
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()
Dnomalloc.cpp228 CALL_SUBTEST_8(Ref<MatrixXd> R2 = M1.topRows<2>(); test_reference(R2)); in test_nomalloc()
Dproduct.h207 VERIFY_IS_APPROX(m1.col(c) * m1.topRows(1), m1.block(0,c,rows,1) * m1.block(0,0,1,cols)); in product()
/external/eigen/Eigen/src/LU/
DFullPivLU.h603 * m_lu.topRows(smalldim)
777 .solveInPlace(c.topRows(smalldim));
779 c.bottomRows(rows-cols) -= m_lu.bottomRows(rows-cols) * c.topRows(cols);
784 .solveInPlace(c.topRows(nonzero_pivots));
829 .solveInPlace(c.topRows(nonzero_pivots));
834 .solveInPlace(c.topRows(smalldim));
840 .solveInPlace(c.topRows(nonzero_pivots));
845 .solveInPlace(c.topRows(smalldim));
/external/eigen/Eigen/src/Eigenvalues/
DRealQZ.h253 m_T.topRows(i).applyOnTheRight(i,i-1,G); in hessenbergTriangular()
343 m_S.topRows(i+2).applyOnTheRight(i+1,i,G); in splitOffTwoRows()
344 m_T.topRows(i+2).applyOnTheRight(i+1,i,G); in splitOffTwoRows()
380 m_S.topRows(zz+2).applyOnTheRight(zz, zz-1,G); in pushDownZero()
381 m_T.topRows(zz+1).applyOnTheRight(zz, zz-1,G); in pushDownZero()
501 tmp = m_S.template middleCols<2>(k).topRows(lr) * essential2; in step()
504 m_S.template middleCols<2>(k).topRows(lr) -= (tau*tmp) * essential2.adjoint(); in step()
506 tmp = m_T.template middleCols<2>(k).topRows(lr) * essential2; in step()
509 m_T.template middleCols<2>(k).topRows(lr) -= (tau*tmp) * essential2.adjoint(); in step()
DComplexSchur.h435 m_matT.topRows((std::min)(il+2,iu)+1).applyOnTheRight(il, il+1, rot);
443 m_matT.topRows((std::min)(i+2,iu)+1).applyOnTheRight(i, i+1, rot);
/external/eigen/Eigen/src/Core/
DReverse.h154 topRows(half).swap(bottomRows(half).reverse());
175 xpr.topRows(half).swap(xpr.bottomRows(half).colwise().reverse());
/external/eigen/Eigen/src/QR/
DHouseholderQR.h365 .solveInPlace(c.topRows(rank)); in _solve_impl()
367 dst.topRows(rank) = c.topRows(rank); in _solve_impl()
DCompleteOrthogonalDecomposition.h510 dst.topRows(rank) = matrixT()
513 .solve(c.topRows(rank));
DColPivHouseholderQR.h607 .solveInPlace(c.topRows(nonzero_pivots));
/external/eigen/Eigen/src/SPQRSupport/
DSuiteSparseQRSupport.h163 …y.topRows(rk) = this->matrixR().topLeftCorner(rk, rk).template triangularView<Upper>().solve(y2.to…
/external/eigen/Eigen/src/plugins/
DBlockMethods.h432 inline RowsBlockXpr topRows(Index n) in topRows() function
439 inline ConstRowsBlockXpr topRows(Index n) const in topRows() function
461 inline typename NRowsBlockXpr<N>::Type topRows(Index n = N)
469 inline typename ConstNRowsBlockXpr<N>::Type topRows(Index n = N) const
/external/eigen/Eigen/src/SparseQR/
DSparseQR.h206 …y.topRows(rank) = this->matrixR().topLeftCorner(rank, rank).template triangularView<Upper>().solve…
210 if (m_perm_c.size()) dest = colsPermutation() * y.topRows(cols());
211 else dest = y.topRows(cols());
/external/eigen/doc/
DTutorialBlockOperations.dox143 \link DenseBase::topRows() * \endlink</td>
145 matrix.topRows(q);\endcode </td>
147 matrix.topRows<q>();\endcode </td>
DAsciiQuickReference.txt70 P.topRows<rows>() // P(1:rows, :)
71 P.topRows(rows) // P(1:rows, :)
/external/eigen/Eigen/src/SparseLU/
DSparseLU_SupernodalMatrix.h279 work.topRows(nrow).noalias() = A * U; in solveInPlace()
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h361 …dst.template topRows<ArgType::RowsAtCompileTime>(src.nestedExpression().rows()) = src.nestedExpres…
419 …: Base( xpr.lhs().nestedExpression() .lazyProduct( xpr.rhs().template topRows<helper::Dim>(xpr.l…
DTransform.h887 m_matrix.template topRows<Dim>() *= s;
1470 res.matrix().template topRows<Dim>().noalias()
1471 = other * tr.matrix().template topRows<Dim>();
1518 res.matrix().template topRows<Dim>() = lhs.matrix() * rhs.matrix();
/external/eigen/Eigen/src/SVD/
DBDCSVD.h276 m_computed.topRows(m_diagSize) = bid.bidiagonal().toDenseMatrix().transpose();
369 A.topRows(n1).noalias() = A1.leftCols(k1) * B1.topRows(k1);
370 A.bottomRows(n2).noalias() = A2.leftCols(k2) * B2.topRows(k2);
/external/tensorflow/tensorflow/core/kernels/linalg/
Dbanded_triangular_solve_op.cc96 output.topRows(i)) / in Run()

12