MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / prune

Method prune

include/Eigen/src/SparseCore/SparseMatrix.h:631–633  ·  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

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

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected