aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Core/Fuzzy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Fuzzy.h')
-rw-r--r--src/Core/Fuzzy.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Core/Fuzzy.h b/src/Core/Fuzzy.h
index 44b20615d..8730a073b 100644
--- a/src/Core/Fuzzy.h
+++ b/src/Core/Fuzzy.h
@@ -1,19 +1,19 @@
-// This file is part of Eigen, a lightweight C++ template library
-// for linear algebra. Eigen itself is part of the KDE project.
+// This file is part of gen, a lightweight C++ template library
+// for linear algebra. gen itself is part of the KDE project.
//
// Copyright (C) 2006-2007 Benoit Jacob <jacob@math.jussieu.fr>
//
-// Eigen is free software; you can redistribute it and/or modify it under the
+// gen is free software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation; either version 2 or (at your option) any later version.
//
-// Eigen is distributed in the hope that it will be useful, but WITHOUT ANY
+// gen is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along
-// with Eigen; if not, write to the Free Software Foundation, Inc., 51
+// with gen; if not, write to the Free Software Foundation, Inc., 51
// Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
//
// As a special exception, if other files instantiate templates or use macros
@@ -28,13 +28,13 @@
template<typename Scalar, typename Derived>
template<typename OtherDerived>
-bool EiObject<Scalar, Derived>::isApprox(const OtherDerived& other) const
+bool Object<Scalar, Derived>::isApprox(const OtherDerived& other) const
{
if(IsVector)
{
return((*this - other).norm2()
<= std::min(norm2(), other.norm2())
- * EiAbs2(EiNumTraits<Scalar>::epsilon()));
+ * Abs2(NumTraits<Scalar>::epsilon()));
}
else
{
@@ -46,11 +46,11 @@ bool EiObject<Scalar, Derived>::isApprox(const OtherDerived& other) const
}
template<typename Scalar, typename Derived>
-bool EiObject<Scalar, Derived>::isNegligble(const Scalar& other) const
+bool Object<Scalar, Derived>::isNegligble(const Scalar& other) const
{
if(IsVector)
{
- return(norm2() <= EiAbs2(other) * EiAbs2(EiNumTraits<Scalar>::epsilon()));
+ return(norm2() <= Abs2(other) * Abs2(NumTraits<Scalar>::epsilon()));
}
else
{
@@ -63,11 +63,11 @@ bool EiObject<Scalar, Derived>::isNegligble(const Scalar& other) const
template<typename Scalar, typename Derived>
template<typename OtherDerived>
-bool EiObject<Scalar, Derived>::isNegligble(const EiObject<Scalar, OtherDerived>& other) const
+bool Object<Scalar, Derived>::isNegligble(const Object<Scalar, OtherDerived>& other) const
{
if(IsVector)
{
- return(norm2() <= other.norm2() * EiAbs2(EiNumTraits<Scalar>::epsilon()));
+ return(norm2() <= other.norm2() * Abs2(NumTraits<Scalar>::epsilon()));
}
else
{