some renaming in the fuzzy compares, and in the multiplications

This commit is contained in:
Benoit Jacob
2007-10-13 14:19:23 +00:00
parent a4626cc808
commit 12bcafdc75
10 changed files with 112 additions and 81 deletions

View File

@@ -95,19 +95,29 @@ template<typename Scalar, typename Derived> class Object
RealScalar norm2() const;
RealScalar norm() const;
ScalarProduct<Derived> normalized() const;
ScalarMultiple<Derived> normalized() const;
static Eval<Random<Derived> >
random(int rows = RowsAtCompileTime, int cols = ColsAtCompileTime);
template<typename OtherDerived>
bool isApprox(const OtherDerived& other) const;
bool isApprox(
const OtherDerived& other,
const typename NumTraits<Scalar>::Real& prec = NumTraits<Scalar>::precision()
) const;
bool isMuchSmallerThan(
const Scalar& other,
const typename NumTraits<Scalar>::Real& prec = NumTraits<Scalar>::precision()
) const;
template<typename OtherDerived>
bool isNegligible(const OtherDerived& other) const;
bool isMuchSmallerThan(
const OtherDerived& other,
const typename NumTraits<Scalar>::Real& prec = NumTraits<Scalar>::precision()
) const;
template<typename OtherDerived>
MatrixProduct<Derived, OtherDerived>
lazyMul(const Object<Scalar, OtherDerived>& other) const EI_ALWAYS_INLINE;
lazyProduct(const Object<Scalar, OtherDerived>& other) const EI_ALWAYS_INLINE;
template<typename OtherDerived>
Derived& operator+=(const Object<Scalar, OtherDerived>& other);