diff options
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/DiagonalMatrix.h | 7 | ||||
-rw-r--r-- | Eigen/src/Core/Dot.h | 16 | ||||
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 13 | ||||
-rw-r--r-- | Eigen/src/Core/Minor.h | 9 | ||||
-rw-r--r-- | Eigen/src/Core/Part.h | 9 | ||||
-rw-r--r-- | Eigen/src/Core/util/ForwardDeclarations.h | 3 | ||||
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 6 |
7 files changed, 23 insertions, 40 deletions
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h index 25fa26953..07eaf0747 100644 --- a/Eigen/src/Core/DiagonalMatrix.h +++ b/Eigen/src/Core/DiagonalMatrix.h @@ -26,6 +26,7 @@ #define EIGEN_DIAGONALMATRIX_H /** \class DiagonalMatrix + * \nonstableyet * * \brief Expression of a diagonal matrix * @@ -91,7 +92,8 @@ class DiagonalMatrix : ei_no_assignment_operator, const typename CoeffsVectorType::Nested m_coeffs; }; -/** \returns an expression of a diagonal matrix with *this as vector of diagonal coefficients +/** \nonstableyet + * \returns an expression of a diagonal matrix with *this as vector of diagonal coefficients * * \only_for_vectors * @@ -109,7 +111,8 @@ MatrixBase<Derived>::asDiagonal() const return derived(); } -/** \returns true if *this is approximately equal to a diagonal matrix, +/** \nonstableyet + * \returns true if *this is approximately equal to a diagonal matrix, * within the precision given by \a prec. * * Example: \include MatrixBase_isDiagonal.cpp diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h index b66fcbaae..4263a27c5 100644 --- a/Eigen/src/Core/Dot.h +++ b/Eigen/src/Core/Dot.h @@ -271,22 +271,6 @@ MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const /** \returns the squared norm of *this, i.e. the dot product of *this with itself. * - * \note This is \em not the \em l2 norm, but its square. - * - * \deprecated Use squaredNorm() instead. This norm2() function is kept only for compatibility and will be removed in Eigen 2.0. - * - * \only_for_vectors - * - * \sa dot(), norm() - */ -template<typename Derived> -EIGEN_DEPRECATED inline typename NumTraits<typename ei_traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm2() const -{ - return ei_real((*this).cwise().abs2().sum()); -} - -/** \returns the squared norm of *this, i.e. the dot product of *this with itself. - * * \only_for_vectors * * \sa dot(), norm() diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index d342a8936..8c755c592 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -229,10 +229,6 @@ template<typename Derived> class MatrixBase template<typename OtherDerived> Derived& operator=(const MatrixBase<OtherDerived>& other); - /** Copies \a other into *this without evaluating other. \returns a reference to *this. */ - template<typename OtherDerived> - Derived& lazyAssign(const MatrixBase<OtherDerived>& other); - /** Special case of the template operator=, in order to prevent the compiler * from generating a default operator= (issue hit with g++ 4.1) */ @@ -241,6 +237,11 @@ template<typename Derived> class MatrixBase return this->operator=<Derived>(other); } +#ifndef EIGEN_PARSED_BY_DOXYGEN + /** Copies \a other into *this without evaluating other. \returns a reference to *this. */ + template<typename OtherDerived> + Derived& lazyAssign(const MatrixBase<OtherDerived>& other); + /** Overloaded for cache friendly product evaluation */ template<typename Lhs, typename Rhs> Derived& lazyAssign(const Product<Lhs,Rhs,CacheFriendlyProduct>& product); @@ -249,6 +250,7 @@ template<typename Derived> class MatrixBase template<typename OtherDerived> Derived& lazyAssign(const Flagged<OtherDerived, 0, EvalBeforeNestingBit | EvalBeforeAssigningBit>& other) { return lazyAssign(other._expression()); } +#endif // not EIGEN_PARSED_BY_DOXYGEN CommaInitializer<Derived> operator<< (const Scalar& s); @@ -589,9 +591,6 @@ template<typename Derived> class MatrixBase const LLT<PlainMatrixType> llt() const; const LDLT<PlainMatrixType> ldlt() const; - // deprecated: - const Cholesky<PlainMatrixType> cholesky() const; - const CholeskyWithoutSquareRoot<PlainMatrixType> choleskyNoSqrt() const; /////////// QR module /////////// diff --git a/Eigen/src/Core/Minor.h b/Eigen/src/Core/Minor.h index 829bfefb2..e2d47da79 100644 --- a/Eigen/src/Core/Minor.h +++ b/Eigen/src/Core/Minor.h @@ -25,7 +25,8 @@ #ifndef EIGEN_MINOR_H #define EIGEN_MINOR_H -/** \class Minor +/** \nonstableyet + * \class Minor * * \brief Expression of a minor * @@ -92,7 +93,8 @@ template<typename MatrixType> class Minor const int m_row, m_col; }; -/** \return an expression of the (\a row, \a col)-minor of *this, +/** \nonstableyet + * \return an expression of the (\a row, \a col)-minor of *this, * i.e. an expression constructed from *this by removing the specified * row and column. * @@ -108,7 +110,8 @@ MatrixBase<Derived>::minor(int row, int col) return Minor<Derived>(derived(), row, col); } -/** This is the const version of minor(). */ +/** \nonstableyet + * This is the const version of minor(). */ template<typename Derived> inline const Minor<Derived> MatrixBase<Derived>::minor(int row, int col) const diff --git a/Eigen/src/Core/Part.h b/Eigen/src/Core/Part.h index b0ef1ff3d..d79c2f2ad 100644 --- a/Eigen/src/Core/Part.h +++ b/Eigen/src/Core/Part.h @@ -26,7 +26,8 @@ #ifndef EIGEN_PART_H #define EIGEN_PART_H -/** \class Part +/** \nonstableyet + * \class Part * * \brief Expression of a triangular matrix extracted from a given matrix * @@ -127,7 +128,8 @@ template<typename MatrixType, unsigned int Mode> class Part const typename MatrixType::Nested m_matrix; }; -/** \returns an expression of a triangular matrix extracted from the current matrix +/** \nonstableyet + * \returns an expression of a triangular matrix extracted from the current matrix * * The parameter \a Mode can have the following values: \c UpperTriangular, \c StrictlyUpperTriangular, \c UnitUpperTriangular, * \c LowerTriangular, \c StrictlyLowerTriangular, \c UnitLowerTriangular. @@ -278,7 +280,8 @@ void Part<MatrixType, Mode>::lazyAssign(const Other& other) >::run(m_matrix.const_cast_derived(), other.derived()); } -/** \returns a lvalue pseudo-expression allowing to perform special operations on \c *this. +/** \nonstableyet + * \returns a lvalue pseudo-expression allowing to perform special operations on \c *this. * * The \a Mode parameter can have the following values: \c UpperTriangular, \c StrictlyUpperTriangular, \c LowerTriangular, * \c StrictlyLowerTriangular, \c SelfAdjoint. diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index a45210e0c..a72a40b1b 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -106,9 +106,6 @@ template<typename MatrixType> class QR; template<typename MatrixType> class SVD; template<typename MatrixType> class LLT; template<typename MatrixType> class LDLT; -// deprecated: -template<typename MatrixType> class Cholesky; -template<typename MatrixType> class CholeskyWithoutSquareRoot; // Geometry module: template<typename Derived, int _Dim> class RotationBase; diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index ae529797c..3c9fdf5cc 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -307,12 +307,6 @@ inline static int ei_alignmentOffset(const Scalar* ptr, int maxOffset) #define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar,Size) \ EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(((Size)!=Eigen::Dynamic) && ((sizeof(Scalar)*(Size))%16==0)) -/** Deprecated, use the EIGEN_MAKE_ALIGNED_OPERATOR_NEW macro instead in your own class */ -struct WithAlignedOperatorNew -{ - EIGEN_MAKE_ALIGNED_OPERATOR_NEW -}; - /** \class aligned_allocator * * \brief stl compatible allocator to use with with 16 byte aligned types |