introduce copyCoeff and copyPacket methods in MatrixBase, used by

Assign, in preparation for new Swap impl reusing Assign code.
remove last remnant of old Inverse class in Transform.
This commit is contained in:
Benoit Jacob
2008-08-05 18:00:23 +00:00
parent 09ef7db9d9
commit c94be35bc8
4 changed files with 59 additions and 15 deletions

View File

@@ -253,6 +253,15 @@ template<typename Derived> class MatrixBase
Scalar& coeffRef(int index);
Scalar& operator[](int index);
template<typename OtherDerived>
void copyCoeff(int row, int col, const MatrixBase<OtherDerived>& other);
template<typename OtherDerived>
void copyCoeff(int index, const MatrixBase<OtherDerived>& other);
template<typename OtherDerived, int LoadStoreMode>
void copyPacket(int row, int col, const MatrixBase<OtherDerived>& other);
template<typename OtherDerived, int LoadStoreMode>
void copyPacket(int index, const MatrixBase<OtherDerived>& other);
template<int LoadMode>
PacketScalar packet(int row, int col) const;
template<int StoreMode>