header
<valarray>
Library for arrays of numeric values
This header declares the
valarray class and its auxiliary classes and functions:
Classes
- valarray
- Valarray class (class template
)
- slice
- Valarray slice selector (class
)
- gslice
- Valarray generalized slice selector (class
)
Intermediate classes (returned by
valarray::operator[] ):
- slice_array
- Valarray slice selection (class template
)
- gslice_array
- Valarray gslice selection (class template
)
- mask_array
- Valarray mask selection (class template
)
- indirect_array
- Valarray indirect selection (class template
)
Global functions
Most mathematical functions from
<cmath> are overloaded to be used directly with
valarray objects as arguments:
- abs
- Compute absolute value of valarray elements (function template
)
- acos
- Compute arc cosine of valarray elements (function template
)
- asin
- Compute arc sine of valarray elements (function template
)
- atan
- Compute arc tangent of valarray elements (function template
)
- atan2
- Compute atan2 of valarray elements (function template
)
- cos
- Compute cosine of valarray elements (function template
)
- cosh
- Compute hyperbolic cosine of valarray elements (function template
)
- exp
- Compute exponential of valarray elements (function template
)
- log
- Compute natural logarithm of valarray elements (function template
)
- log10
- Compute common logarithm of valarray elements (function template
)
- pow
- Compute power of valarray elements (function template
)
- sin
- Compute sine of valarray elements (function template
)
- sinh
- Compute hyperbolic sine of valarray elements (function template
)
- sqrt
- Compute square root of valarray elements (function template
)
- tan
- Compute tangent of valarray elements (function template
)
- tanh
- Compute hyperbolic tangent of valarray elements (function template
)
The header also overloads operators for the
valarray class:
- valarray operators
- Valarray operators (function
)