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