diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-08-31 13:32:29 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-08-31 13:32:29 +0000 |
commit | 7e8aa63bb7083c1f465be0b42460f49559ee6b7a (patch) | |
tree | ed1c2db0373330f1d05b9e2f554dedbfc0cd307e /Eigen/src/Core/CwiseNullaryOp.h | |
parent | 5c34d8e20a4263bb387e19da4209137bfe519a54 (diff) |
* Add Hyperplane::transform(Matrix/Transform)
* Fix compilations with gcc 3.4, ICC and doxygen
* Fix krazy directives (hopefully)
Diffstat (limited to 'Eigen/src/Core/CwiseNullaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseNullaryOp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/CwiseNullaryOp.h b/Eigen/src/Core/CwiseNullaryOp.h index caa86fa97..005340213 100644 --- a/Eigen/src/Core/CwiseNullaryOp.h +++ b/Eigen/src/Core/CwiseNullaryOp.h @@ -234,7 +234,7 @@ MatrixBase<Derived>::Constant(const Scalar& value) template<typename Derived> bool MatrixBase<Derived>::isApproxToConstant -(const Scalar& value, typename NumTraits<Scalar>::Real prec) const +(const Scalar& value, RealScalar prec) const { for(int j = 0; j < cols(); j++) for(int i = 0; i < rows(); i++) @@ -328,7 +328,7 @@ MatrixBase<Derived>::Zero() */ template<typename Derived> bool MatrixBase<Derived>::isZero -(typename NumTraits<Scalar>::Real prec) const +(RealScalar prec) const { for(int j = 0; j < cols(); j++) for(int i = 0; i < rows(); i++) @@ -425,7 +425,7 @@ MatrixBase<Derived>::Ones() */ template<typename Derived> bool MatrixBase<Derived>::isOnes -(typename NumTraits<Scalar>::Real prec) const +(RealScalar prec) const { return isApproxToConstant(Scalar(1), prec); } @@ -497,7 +497,7 @@ MatrixBase<Derived>::Identity() */ template<typename Derived> bool MatrixBase<Derived>::isIdentity -(typename NumTraits<Scalar>::Real prec) const +(RealScalar prec) const { for(int j = 0; j < cols(); j++) { |