MCPcopy Create free account
hub / github.com/dblalock/bolt / prune

Method prune

cpp/src/external/eigen/src/SparseCore/SparseMatrix.h:502–505  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

500
501 /** Suppresses all nonzeros which are \b much \b smaller \b than \a reference under the tolerence \a epsilon */
502 void prune(const Scalar& reference, const RealScalar& epsilon = NumTraits<RealScalar>::dummy_precision())
503 {
504 prune(default_prunning_func(reference,epsilon));
505 }
506
507 /** Turns the matrix into compressed format, and suppresses all nonzeros which do not satisfy the predicate \a keep.
508 * The functor type \a KeepFunc must implement the following function:

Callers 1

pruneFunction · 0.45

Calls 5

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

Tested by

no test coverage detected