The Intel® Compiler provides a high performance implementation of specialized one-dimensional valarray operations for the C++ standard STL valarray container.
The standard C++ valarray template consists of array/vector operations for high performance computing. These operations are designed to exploit high performance hardware features such as parallelism and achieve performance benefits.
Intel's valarray implementation uses the Intel® Integrated Performance Primitives (IPP), which is part of the product. Make sure you select IPP when you install the product.
The valarray implementation consists of a replacement header, <valarray>, that provides a specialized high performance implementation for the following operators and types:
Operator |
Valarrays of Type |
---|---|
abs, acos, asin, atan, atan2, cos, cosh, exp, log, log10, pow, sin, sinh, sqrt, tan, tanh |
float, double |
addition, subtraction, division, multiplication |
float, double |
bitwise or, and, xor |
(all unsigned) char, short, int |
min, max, sum |
signed or short/signed int, float, double |