Developer Guide and Reference


Intel's valarray Implementation

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 (Intel® IPP), which is part of the product. Select IPP when you install the product.
The valarray implementation consists of a replacement header,
that provides a specialized, high-performance implementation for the following operators and types:
Valarrays of Type
abs, acos, acosh, asin, asinh, atan, atan2, atanh, cbrt, cdfnorm, ceil, cos, cosh, erf, erfc, erfinv, exp, expm1, floor, hypot, inv, invcbrt, invsqrt, ln, log, log10, log1p, nearbyint, pow, pow2o3, pow3o2, powx, rint, round, sin, sinh, sqrt, tan, tanh, trunk
float, double
add, conj, div, mul, mulbyconj, mul, sub
Ipp32fc, Ipp64fc
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
Optimization Notice
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3,