Inheritance diagram for valarray:

A valarray is a replacement for a C array that allows n-at-a-time operation with various arithmetic, logical and transcendental functions. This implementation is largely a superset of std::valarray functionality, and highly optimized to use SIMD opcodes on supporting CPUs.
| T | The element value type, which shall satisfy the following requirements: 
 | 
| Public Member Functions | |
| Assignments | |
| valarray & | operator= (const T &x) | 
| Assigns x to each element. | |
| template<typename Expr> | |
| valarray & | operator= (const impl::term< T, Expr > &other) | 
| Assigns the other term. | |
| valarray & | operator= (const valarray &other) | 
| Assigns the other array. | |
| void | resize (std::size_t n, const T &x=T()) | 
| Changes the size to n, copying x to each element. | |
| Constructors and Destructors | |
| template<typename Term> | |
| valarray (const impl::term< T, Term > &other) | |
| Constructs a copy of other term. | |
| valarray (const valarray &other) | |
| Constructs a copy of other array. | |
| valarray (const T *x, std::size_t n) | |
| Constructs an array with copies of the first n elements from x. | |
| valarray (const T &x, std::size_t n) | |
| Constructs an array of n elements, each a copy of x. | |
| valarray (std::size_t n) | |
| Constructs an array of n elements, each zero. | |
| valarray () | |
| Constructs a zero-size array. | |
| ~valarray () | |
| Destructs the array. | |