MCPcopy Create free account
hub / github.com/cusplibrary/cusplibrary / random_iterator

Method random_iterator

cusp/iterator/random_iterator.h:107–108  ·  view source on GitHub ↗

! \brief This constructor builds a \p random_iterator using a specified seed. * \param seed The seed initial value used to generate the random sequence. */

Source from the content-addressed store, hash-verified

105 * \param seed The seed initial value used to generate the random sequence.
106 */
107 random_iterator(const size_t seed = 0)
108 : random_counting_iterator(CountingIterator(0), IndexFunctor(seed)) {}
109
110 /*! \brief This method returns an iterator pointing to the beginning of
111 * this random sequence of entries.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected