From d1d55e67e967a9bd0d447a7ea105ac2771cde557 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 5 Jan 2008 10:57:14 +0000 Subject: - make MatrixBase and all expressions aware of their preferred traversal order. Honor this preference in operator=. - add several methods to the API - rework API for diagonal matrices - add benchmarking code --- Eigen/src/Core/Fuzzy.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Eigen/src/Core/Fuzzy.h') diff --git a/Eigen/src/Core/Fuzzy.h b/Eigen/src/Core/Fuzzy.h index bd3219568..6cf076cdc 100644 --- a/Eigen/src/Core/Fuzzy.h +++ b/Eigen/src/Core/Fuzzy.h @@ -30,7 +30,7 @@ template template bool MatrixBase::isApprox( const OtherDerived& other, - const typename NumTraits::Real& prec + const typename NumTraits::Real& prec = precision() ) const { assert(rows() == other.rows() && cols() == other.cols()); @@ -51,7 +51,7 @@ bool MatrixBase::isApprox( template bool MatrixBase::isMuchSmallerThan( const typename NumTraits::Real& other, - const typename NumTraits::Real& prec + const typename NumTraits::Real& prec = precision() ) const { if(IsVectorAtCompileTime) @@ -71,7 +71,7 @@ template template bool MatrixBase::isMuchSmallerThan( const MatrixBase& other, - const typename NumTraits::Real& prec + const typename NumTraits::Real& prec = precision() ) const { assert(rows() == other.rows() && cols() == other.cols()); -- cgit v1.2.3