MCPcopy Create free account
hub / github.com/PX4/eigen / default_prunning_func

Class default_prunning_func

Eigen/src/SparseCore/SparseMatrix.h:906–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904 }
905
906 struct default_prunning_func {
907 default_prunning_func(const Scalar& ref, const RealScalar& eps) : reference(ref), epsilon(eps) {}
908 inline bool operator() (const Index&, const Index&, const Scalar& value) const
909 {
910 return !internal::isMuchSmallerThan(value, reference, epsilon);
911 }
912 Scalar reference;
913 RealScalar epsilon;
914 };
915};
916
917namespace internal {

Callers 1

pruneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected