SparseFuzzy.h
Go to the documentation of this file.
00001 // This file is part of Eigen, a lightweight C++ template library
00002 // for linear algebra.
00003 //
00004 // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
00005 //
00006 // This Source Code Form is subject to the terms of the Mozilla
00007 // Public License v. 2.0. If a copy of the MPL was not distributed
00008 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
00009 
00010 #ifndef EIGEN_SPARSE_FUZZY_H
00011 #define EIGEN_SPARSE_FUZZY_H
00012 
00013 // template<typename Derived>
00014 // template<typename OtherDerived>
00015 // bool SparseMatrixBase<Derived>::isApprox(
00016 //   const OtherDerived& other,
00017 //   typename NumTraits<Scalar>::Real prec
00018 // ) const
00019 // {
00020 //   const typename internal::nested<Derived,2>::type nested(derived());
00021 //   const typename internal::nested<OtherDerived,2>::type otherNested(other.derived());
00022 //   return    (nested - otherNested).cwise().abs2().sum()
00023 //          <= prec * prec * (std::min)(nested.cwise().abs2().sum(), otherNested.cwise().abs2().sum());
00024 // }
00025 
00026 #endif // EIGEN_SPARSE_FUZZY_H


turtlebot_exploration_3d
Author(s): Bona , Shawn
autogenerated on Thu Jun 6 2019 20:59:57