libstdc++
|
Smart array designed to support numeric processing.
A valarray is an array that provides constraints intended to allow for effective optimization of numeric array processing by reducing the aliasing that can result from pointer representations. It represents a one-dimensional array from which different multidimensional subsets can be accessed and modified.
_Tp | Type of object in the array. |
std::valarray< _Tp >::valarray | ( | const _Tp * | __restrict__, |
size_t | |||
) |
Construct an array initialized to the first n elements of t.