Home
last modified time | relevance | path

Searched refs:colId (Results 1 – 11 of 11) sorted by relevance

/external/eigen/Eigen/src/Core/
DSwap.h52 inline Scalar& coeffRef(Index rowId, Index colId)
54 return m_expression.const_cast_derived().coeffRef(rowId, colId);
62 inline Scalar& coeffRef(Index rowId, Index colId) const
64 return m_expression.coeffRef(rowId, colId);
73 void copyCoeff(Index rowId, Index colId, const DenseBase<OtherDerived>& other)
77 && colId >= 0 && colId < cols());
78 Scalar tmp = m_expression.coeff(rowId, colId);
79 m_expression.coeffRef(rowId, colId) = _other.coeff(rowId, colId);
80 _other.coeffRef(rowId, colId) = tmp;
94 void copyPacket(Index rowId, Index colId, const DenseBase<OtherDerived>& other)
[all …]
DArrayWrapper.h66 inline CoeffReturnType coeff(Index rowId, Index colId) const
68 return m_expression.coeff(rowId, colId);
71 inline Scalar& coeffRef(Index rowId, Index colId)
73 return m_expression.const_cast_derived().coeffRef(rowId, colId);
76 inline const Scalar& coeffRef(Index rowId, Index colId) const
78 return m_expression.const_cast_derived().coeffRef(rowId, colId);
97 inline const PacketScalar packet(Index rowId, Index colId) const
99 return m_expression.template packet<LoadMode>(rowId, colId);
103 inline void writePacket(Index rowId, Index colId, const PacketScalar& val)
105 m_expression.const_cast_derived().template writePacket<LoadMode>(rowId, colId, val);
[all …]
DTranspose.h121 inline ScalarWithConstIfNotLvalue& coeffRef(Index rowId, Index colId)
124 return derived().nestedExpression().const_cast_derived().coeffRef(colId, rowId);
133 inline const Scalar& coeffRef(Index rowId, Index colId) const
135 return derived().nestedExpression().coeffRef(colId, rowId);
143 inline CoeffReturnType coeff(Index rowId, Index colId) const
145 return derived().nestedExpression().coeff(colId, rowId);
154 inline const PacketScalar packet(Index rowId, Index colId) const
156 return derived().nestedExpression().template packet<LoadMode>(colId, rowId);
160 inline void writePacket(Index rowId, Index colId, const PacketScalar& x)
162 … derived().nestedExpression().const_cast_derived().template writePacket<LoadMode>(colId, rowId, x);
DReplicate.h92 inline Scalar coeff(Index rowId, Index colId) const
99 : ColFactor==1 ? colId
100 : colId%m_matrix.cols();
105 inline PacketScalar packet(Index rowId, Index colId) const
111 : ColFactor==1 ? colId
112 : colId%m_matrix.cols();
DBlock.h211 inline Scalar& coeffRef(Index rowId, Index colId)
215 .coeffRef(rowId + m_startRow.value(), colId + m_startCol.value());
218 inline const Scalar& coeffRef(Index rowId, Index colId) const
221 .coeffRef(rowId + m_startRow.value(), colId + m_startCol.value());
224 EIGEN_STRONG_INLINE const CoeffReturnType coeff(Index rowId, Index colId) const
226 return m_xpr.coeff(rowId + m_startRow.value(), colId + m_startCol.value());
252 inline PacketScalar packet(Index rowId, Index colId) const
255 (rowId + m_startRow.value(), colId + m_startCol.value());
259 inline void writePacket(Index rowId, Index colId, const PacketScalar& val)
262 (rowId + m_startRow.value(), colId + m_startCol.value(), val);
DCwiseUnaryOp.h101 EIGEN_STRONG_INLINE const Scalar coeff(Index rowId, Index colId) const
103 return derived().functor()(derived().nestedExpression().coeff(rowId, colId));
107 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const
109 …derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, colId));
DMapBase.h90 inline const Scalar& coeff(Index rowId, Index colId) const in coeff() argument
92 return m_data[colId * colStride() + rowId * rowStride()]; in coeff()
101 inline const Scalar& coeffRef(Index rowId, Index colId) const in coeffRef() argument
103 return this->m_data[colId * colStride() + rowId * rowStride()]; in coeffRef()
113 inline PacketScalar packet(Index rowId, Index colId) const in packet() argument
116 (m_data + (colId * colStride() + rowId * rowStride())); in packet()
DCwiseBinaryOp.h172 EIGEN_STRONG_INLINE const Scalar coeff(Index rowId, Index colId) const
174 return derived().functor()(derived().lhs().coeff(rowId, colId),
175 derived().rhs().coeff(rowId, colId));
179 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const
181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(rowId, colId),
182 derived().rhs().template packet<LoadMode>(rowId, colId));
DPlainObjectBase.h138 EIGEN_STRONG_INLINE const Scalar& coeff(Index rowId, Index colId) const
141 return m_storage.data()[colId + rowId * m_storage.cols()];
143 return m_storage.data()[rowId + colId * m_storage.rows()];
151 EIGEN_STRONG_INLINE Scalar& coeffRef(Index rowId, Index colId)
154 return m_storage.data()[colId + rowId * m_storage.cols()];
156 return m_storage.data()[rowId + colId * m_storage.rows()];
164 EIGEN_STRONG_INLINE const Scalar& coeffRef(Index rowId, Index colId) const
167 return m_storage.data()[colId + rowId * m_storage.cols()];
169 return m_storage.data()[rowId + colId * m_storage.rows()];
179 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const
[all …]
DVisitor.h175 DenseBase<Derived>::minCoeff(IndexType* rowId, IndexType* colId) const
180 if (colId) *colId = minVisitor.col;
DCwiseNullaryOp.h69 EIGEN_STRONG_INLINE const Scalar coeff(Index rowId, Index colId) const
71 return m_functor(rowId, colId);
75 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const
77 return m_functor.packetOp(rowId, colId);