Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/
DDenseStorage.h174 …e DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbCols) …
179 …vativeResize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = nbCols;…
180 … void resize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = nbCols;…
213 inline DenseStorage(DenseIndex, DenseIndex, DenseIndex nbCols) : m_cols(nbCols) {}
217 inline void conservativeResize(DenseIndex, DenseIndex, DenseIndex nbCols) { m_cols = nbCols; }
218 inline void resize(DenseIndex, DenseIndex, DenseIndex nbCols) { m_cols = nbCols; }
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)
245 m_cols = nbCols;
[all …]
DCwiseNullaryOp.h57 CwiseNullaryOp(Index nbRows, Index nbCols, const NullaryOp& func = NullaryOp())
58 : m_rows(nbRows), m_cols(nbCols), m_functor(func)
62 && nbCols >= 0
63 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == nbCols));
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)
238 && EIGEN_IMPLIES(ColsAtCompileTime!=Dynamic,nbCols==ColsAtCompileTime)
240 …IGEN_IMPLIES(ColsAtCompileTime==Dynamic && MaxColsAtCompileTime!=Dynamic,nbCols<=MaxColsAtCompileT…
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);
289 inline void resize(NoChange_t, Index nbCols)
[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()
148 && nbCols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == nbCols))); 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
230 EIGEN_ONLY_USED_FOR_DEBUG(nbCols); in resize()
231 eigen_assert(nbRows == this->rows() && nbCols == this->cols() in resize()