Home | History | Annotate | Download | only in Core

Lines Matching refs:xpr

109     inline Block(XprType& xpr, Index i)
110 : m_xpr(xpr),
117 m_blockRows(BlockRows==1 ? 1 : xpr.rows()),
118 m_blockCols(BlockCols==1 ? 1 : xpr.cols())
121 ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) && i<xpr.rows())
122 ||((BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) && i<xpr.cols())));
127 inline Block(XprType& xpr, Index startRow, Index startCol)
128 : m_xpr(xpr), m_startRow(startRow), m_startCol(startCol),
132 eigen_assert(startRow >= 0 && BlockRows >= 1 && startRow + BlockRows <= xpr.rows()
133 && startCol >= 0 && BlockCols >= 1 && startCol + BlockCols <= xpr.cols());
138 inline Block(XprType& xpr,
141 : m_xpr(xpr), m_startRow(startRow), m_startCol(startCol),
146 eigen_assert(startRow >= 0 && blockRows >= 0 && startRow + blockRows <= xpr.rows()
147 && startCol >= 0 && blockCols >= 0 && startCol + blockCols <= xpr.cols());
270 inline Block(XprType& xpr, Index i)
271 : Base(internal::const_cast_ptr(&xpr.coeffRef(
274 BlockRows==1 ? 1 : xpr.rows(),
275 BlockCols==1 ? 1 : xpr.cols()),
276 m_xpr(xpr)
279 ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) && i<xpr.rows())
280 ||((BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) && i<xpr.cols())));
286 inline Block(XprType& xpr, Index startRow, Index startCol)
287 : Base(internal::const_cast_ptr(&xpr.coeffRef(startRow,startCol))), m_xpr(xpr)
289 eigen_assert(startRow >= 0 && BlockRows >= 1 && startRow + BlockRows <= xpr.rows()
290 && startCol >= 0 && BlockCols >= 1 && startCol + BlockCols <= xpr.cols());
296 inline Block(XprType& xpr,
299 : Base(internal::const_cast_ptr(&xpr.coeffRef(startRow,startCol)), blockRows, blockCols),
300 m_xpr(xpr)
304 eigen_assert(startRow >= 0 && blockRows >= 0 && startRow + blockRows <= xpr.rows()
305 && startCol >= 0 && blockCols >= 0 && startCol + blockCols <= xpr.cols());
336 inline Block(XprType& xpr, const Scalar* data, Index blockRows, Index blockCols)
337 : Base(data, blockRows, blockCols), m_xpr(xpr)