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

Method constant_array

cusp/array1d.h:633–634  ·  view source on GitHub ↗

! This constructor creates a constant_array with a given * size starting and value * \param size The number of entries. * \param value The constant value to repeat. */

Source from the content-addressed store, hash-verified

631 * \param value The constant value to repeat.
632 */
633 constant_array(size_type size, ValueType value)
634 : Parent(iterator(value), iterator(value) + size) {}
635};
636
637/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected