cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::valarray::
swap
From cppreference.com
<
cpp
|
numeric
|
valarray
C++
Language
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Numerics library
Common mathematical functions
Floating-point environment
Complex numbers
Numeric arrays
Pseudo-random number generation
Compile-time rational arithmetic
(C++11)
Generic numeric operations
iota
(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
Numeric arrays
Member functions
valarray::valarray
valarray::~valarray
valarray::operator=
valarray::operator[]
valarray::swap
valarray::size
valarray::resize
valarray::sum
valarray::min
valarray::max
valarray::shift
valarray::cshift
valarray::apply
valarray::operator+
valarray::operator-
valarray::operator~
valarray::operator!
valarray::operator*=
valarray::operator/=
valarray::operator%=
valarray::operator+=
valarray::operator-=
valarray::operator^=
valarray::operator&=
valarray::operator|=
valarray::operator<<=
valarray::operator>>=
Non-member functions
swap
(C++11)
begin
(C++11)
end
(C++11)
abs
exp
log
log10
pow
sqrt
sin
cos
tan
asin
acos
atan
atan2
sinh
cosh
tanh
operator*
operator/
operator%
operator+
operator-
operator^
operator&
operator|
operator<<
operator>>
operator&&
operator
operator==
operator!=
operator<
operator>
operator<=
operator>=
Helper classes
slice_array
gslice_array
indirect_array
slice
gslice
mask_array
void
swap
(
valarray
&
other
)
;
Swaps the contents with those of
other
.
[
edit
]
Parameters
other
-
another valarray to swap the contents with
[
edit
]
Return value
(none)
[
edit
]
Exceptions
noexcept
specification:
noexcept
(since C++11)