Searched defs:nbCols (Results 1 - 8 of 8) sorted by relevance

/external/eigen/Eigen/src/Core/
H A DRandom.h135 * \param nbCols the new number of columns
144 PlainObjectBase<Derived>::setRandom(Index nbRows, Index nbCols) argument
146 resize(nbRows, nbCols);
H A DDenseStorage.h174 inline DenseStorage(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) : m_rows(nbRows), m_cols(nbCols) {} argument
179 inline void conservativeResize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = nbCols; } argument
180 inline void resize(DenseIndex, DenseIndex nbRows, DenseIndex nbCols) { m_rows = nbRows; m_cols = nbCols; } argument
213 inline DenseStorage(DenseIndex, DenseIndex, DenseIndex nbCols) : m_cols(nbCols) {} argument
217 inline void conservativeResize(DenseIndex, DenseIndex, DenseIndex nbCols) { m_cols = nbCols; } argument
218 resize(DenseIndex, DenseIndex, DenseIndex nbCols) argument
233 DenseStorage(DenseIndex size, DenseIndex nbRows, DenseIndex nbCols) argument
241 conservativeResize(DenseIndex size, DenseIndex nbRows, DenseIndex nbCols) argument
247 resize(DenseIndex size, DenseIndex nbRows, DenseIndex nbCols) argument
273 DenseStorage(DenseIndex size, DenseIndex, DenseIndex nbCols) argument
279 conservativeResize(DenseIndex size, DenseIndex, DenseIndex nbCols) argument
284 resize(DenseIndex size, DenseIndex, DenseIndex nbCols) argument
[all...]
H A DArrayWrapper.h129 void resize(Index nbRows, Index nbCols) { m_expression.const_cast_derived().resize(nbRows,nbCols); } argument
246 void resize(Index nbRows, Index nbCols) { m_expression.const_cast_derived().resize(nbRows,nbCols); } argument
H A DMap.h161 * \param nbCols the number of columns of the matrix expression
164 inline Map(PointerArgType dataPtr, Index nbRows, Index nbCols, const StrideType& a_stride = StrideType()) argument
165 : Base(cast_to_pointer_type(dataPtr), nbRows, nbCols), m_stride(a_stride)
H A DMapBase.h143 inline MapBase(PointerType dataPtr, Index nbRows, Index nbCols) argument
144 : m_data(dataPtr), m_rows(nbRows), m_cols(nbCols)
148 && nbCols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == nbCols)));
229 inline MapBase(PointerType dataPtr, Index nbRows, Index nbCols) : Base(dataPtr, nbRows, nbCols) {} argument
H A DCwiseNullaryOp.h57 CwiseNullaryOp(Index nbRows, Index nbCols, const NullaryOp& func = NullaryOp()) argument
58 : m_rows(nbRows), m_cols(nbCols), m_functor(func)
62 && nbCols >= 0
63 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == nbCols));
166 * The parameters \a nbRows and \a nbCols are the number of rows and of columns of
170 * it is redundant to pass \a nbRows and \a nbCols as arguments, so Zero() should be used
179 DenseBase<Derived>::Constant(Index nbRows, Index nbCols, const Scalar& value) argument
181 return DenseBase<Derived>::NullaryExpr(nbRows, nbCols, internal::scalar_constant_op<Scalar>(value));
357 * \param nbCols the new number of columns
367 PlainObjectBase<Derived>::setConstant(Index nbRows, Index nbCols, cons argument
428 Zero(Index nbRows, Index nbCols) argument
533 setZero(Index nbRows, Index nbCols) argument
557 Ones(Index nbRows, Index nbCols) argument
659 setOnes(Index nbRows, Index nbCols) argument
683 Identity(Index nbRows, Index nbCols) argument
788 setIdentity(Index nbRows, Index nbCols) argument
[all...]
H A DDenseBase.h227 void resize(Index nbRows, Index nbCols) argument
230 EIGEN_ONLY_USED_FOR_DEBUG(nbCols);
231 eigen_assert(nbRows == this->rows() && nbCols == this->cols()
H A DPlainObjectBase.h235 EIGEN_STRONG_INLINE void resize(Index nbRows, Index nbCols) argument
238 && EIGEN_IMPLIES(ColsAtCompileTime!=Dynamic,nbCols==ColsAtCompileTime)
240 && EIGEN_IMPLIES(ColsAtCompileTime==Dynamic && MaxColsAtCompileTime!=Dynamic,nbCols<=MaxColsAtCompileTime)
241 && nbRows>=0 && nbCols>=0 && "Invalid sizes when resizing a matrix or array."); local
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 resize(NoChange_t, Index nbCols) argument
291 resize(rows(), nbCols); local
342 conservativeResize(Index nbRows, Index nbCols) argument
367 conservativeResize(NoChange_t, Index nbCols) argument
370 conservativeResize(rows(), nbCols); local
440 PlainObjectBase(Index a_size, Index nbRows, Index nbCols) argument
625 _init2(Index nbRows, Index nbCols, typename internal::enable_if<Base::SizeAtCompileTime!=2,T0>::type* = 0) argument
[all...]

Completed in 103 milliseconds