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

Method counting_array

cusp/array1d.h:583–584  ·  view source on GitHub ↗

! This constructor creates a counting_array with a given * size starting from a given initial value * \param size The number of entries * \param init The initial starting index to start counting */

Source from the content-addressed store, hash-verified

581 * \param init The initial starting index to start counting
582 */
583 counting_array(size_type size, ValueType init = ValueType(0))
584 : Parent(iterator(init), iterator(init) + size) {}
585};
586
587/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected