lppl  v2.0.0

◆ filter()

template<typename V >
template<typename Callable >
value_collection_t<V>& value_collection_t< V >::filter ( Callable  f)
inline

Filter the vector of posterior samples through a callable.

filter :: (v -> bool) -> [v] -> [v]

Todo:
efficiency!
Template Parameters
Callable
Parameters
f
Returns
value_collection_t<V>&