MCPcopy Create free account
hub / github.com/avaxman/Directional / prune

Method prune

external/eigen/Eigen/src/SparseCore/SparseMatrix.h:636–639  ·  view source on GitHub ↗

Suppresses all nonzeros which are \b much \b smaller \b than \a reference under the tolerance \a epsilon */

Source from the content-addressed store, hash-verified

634
635 /** Suppresses all nonzeros which are \b much \b smaller \b than \a reference under the tolerance \a epsilon */
636 void prune(const Scalar& reference, const RealScalar& epsilon = NumTraits<RealScalar>::dummy_precision())
637 {
638 prune(default_prunning_func(reference,epsilon));
639 }
640
641 /** Turns the matrix into compressed format, and suppresses all nonzeros which do not satisfy the predicate \a keep.
642 * The functor type \a KeepFunc must implement the following function:

Callers 3

test_pruningFunction · 0.45
sparse_basicFunction · 0.45

Calls 5

pruneFunction · 0.85
indexMethod · 0.45
valueMethod · 0.45
resizeMethod · 0.45

Tested by 3

test_pruningFunction · 0.36
sparse_basicFunction · 0.36