valarray [C++ Reference]
Keywords: valarray,start
Date: 2009-06-08T16:54:06-0700

[[valarray]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

# valarray

The valarray provides a computationally optimized implementation of an array container.

Constructors | create valarrays and initialize them with some data
Operators | compare, assign, and access elements of a valarray
apply | applies function to all elements in the valarray
cshift | cyclically shifts the elements (left for i<0, right for i>0)
max | returns the maximum value in the valarray
min | returns the minimum value in the valarray
resize | change the size of the vector
shift | logically shifts the elements (left for i<0, right for i>0)
size | returns the number of items in the vector
sum | sum elements of a valarray

Related topics slice_array gslice_array mask_array indirect_array

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •