From cb409914e01ef7b3b6d6279da43065ddf7070f46 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 7 Dec 2008 23:23:36 +0000 Subject: [PATCH] * call it beta2 * improvements in Matrix documentation * document copyCoeff and copyPacket even if it's hidden from doxygen --- CMakeLists.txt | 2 +- Eigen/src/Core/Coeffs.h | 28 +++++++++++++ Eigen/src/Core/Matrix.h | 87 +++++++++++++++++++++++------------------ 3 files changed, 77 insertions(+), 40 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7856c15ea..06f8a3f9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ project(Eigen) -set(EIGEN_VERSION_NUMBER "2.0-beta1") +set(EIGEN_VERSION_NUMBER "2.0-beta2") #if the svnversion program is absent, this will leave the SVN_REVISION string empty, #but won't stop CMake. diff --git a/Eigen/src/Core/Coeffs.h b/Eigen/src/Core/Coeffs.h index 227777a82..02738fd15 100644 --- a/Eigen/src/Core/Coeffs.h +++ b/Eigen/src/Core/Coeffs.h @@ -313,6 +313,13 @@ inline void MatrixBase::writePacket derived().template writePacket(index,x); } +/** \internal Copies the coefficient at position (row,col) of other into *this. + * + * This method is overridden in SwapWrapper, allowing swap() assignments to share 99% of their code + * with usual assignments. + * + * Outside of this internal usage, this method has probably no usefulness. It is hidden in the public API dox. + */ template template inline void MatrixBase::copyCoeff(int row, int col, const MatrixBase& other) @@ -322,6 +329,13 @@ inline void MatrixBase::copyCoeff(int row, int col, const MatrixBase