Home
last modified time | relevance | path

Searched refs:nbRows (Results 1 – 8 of 8) sorted by relevance

/external/eigen/Eigen/src/Core/
DDenseStorage.h174 …inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbC…
179 …inline void conservativeResize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows
180 …inline void resize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = n…
194 inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex) : m_rows(nbRows) {}
198 inline void conservativeResize(DenseIndex, DenseIndex nbRows, DenseIndex) { m_rows = nbRows; }
199 inline void resize(DenseIndex, DenseIndex nbRows, DenseIndex) { m_rows = nbRows; }
233 inline DenseStorage(DenseIndex size, DenseIndex nbRows, DenseIndex nbCols)
234 …nal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size)), m_rows(nbRows), m_cols(nbCols)
241 inline void conservativeResize(DenseIndex size, DenseIndex nbRows, DenseIndex nbCols)
244 m_rows = nbRows;
[all …]
DCwiseNullaryOp.h57 CwiseNullaryOp(Index nbRows, Index nbCols, const NullaryOp& func = NullaryOp())
58 : m_rows(nbRows), m_cols(nbCols), m_functor(func)
60 eigen_assert(nbRows >= 0
61 && (RowsAtCompileTime == Dynamic || RowsAtCompileTime == nbRows)
179 DenseBase<Derived>::Constant(Index nbRows, Index nbCols, const Scalar& value)
181 …return DenseBase<Derived>::NullaryExpr(nbRows, nbCols, internal::scalar_constant_op<Scalar>(value)…
367 PlainObjectBase<Derived>::setConstant(Index nbRows, Index nbCols, const Scalar& val)
369 resize(nbRows, nbCols);
428 DenseBase<Derived>::Zero(Index nbRows, Index nbCols)
430 return Constant(nbRows, nbCols, Scalar(0));
[all …]
DPlainObjectBase.h235 EIGEN_STRONG_INLINE void resize(Index nbRows, Index nbCols)
237 eigen_assert( EIGEN_IMPLIES(RowsAtCompileTime!=Dynamic,nbRows==RowsAtCompileTime)
239 …IGEN_IMPLIES(RowsAtCompileTime==Dynamic && MaxRowsAtCompileTime!=Dynamic,nbRows<=MaxRowsAtCompileT…
241 && nbRows>=0 && nbCols>=0 && "Invalid sizes when resizing a matrix or array.");
242 internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime>::run(nbRows, nbCols);
244 Index size = nbRows*nbCols;
246 m_storage.resize(size, nbRows, nbCols);
249 internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime>::run(nbRows, nbCols);
250 m_storage.resize(nbRows*nbCols, nbRows, nbCols);
302 inline void resize(Index nbRows, NoChange_t)
[all …]
DMapBase.h143 inline MapBase(PointerType dataPtr, Index nbRows, Index nbCols) in MapBase() argument
144 : m_data(dataPtr), m_rows(nbRows), m_cols(nbCols) in MapBase()
147 || ( nbRows >= 0 && (RowsAtCompileTime == Dynamic || RowsAtCompileTime == nbRows) in MapBase()
230 … inline MapBase(PointerType dataPtr, Index nbRows, Index nbCols) : Base(dataPtr, nbRows, nbCols) {} in MapBase() argument
DArrayWrapper.h134 …void resize(Index nbRows, Index nbCols) { m_expression.const_cast_derived().resize(nbRows,nbCols);…
256 …void resize(Index nbRows, Index nbCols) { m_expression.const_cast_derived().resize(nbRows,nbCols);…
DRandom.h144 PlainObjectBase<Derived>::setRandom(Index nbRows, Index nbCols)
146 resize(nbRows, nbCols);
DMap.h164 …inline Map(PointerArgType dataPtr, Index nbRows, Index nbCols, const StrideType& a_stride = Stride…
165 : Base(cast_to_pointer_type(dataPtr), nbRows, nbCols), m_stride(a_stride)
DDenseBase.h227 void resize(Index nbRows, Index nbCols) in resize() argument
229 EIGEN_ONLY_USED_FOR_DEBUG(nbRows); in resize()
231 eigen_assert(nbRows == this->rows() && nbCols == this->cols() in resize()