std::valarray<T>::swap
From cppreference.com
C++
Numerics library
Common mathematical functions | ||||
Special mathematical functions | ||||
Floating-point environment (C++11) | ||||
Complex numbers | ||||
Numeric arrays | ||||
Pseudo-random number generation | ||||
Compile-time rational arithmetic (C++11) | ||||
Numeric algorithms | ||||
(C++17) | ||||
(C++17) | ||||
Interpolations | ||||
(C++20) | ||||
(C++20) | ||||
Generic numeric operations | ||||
(C++11) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
Bit operations | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) |
std::valarray
Member functions | ||||
Non-member functions | ||||
Helper classes | ||||
Deduction guides(C++17) |
void swap( valarray& other ); |
(until C++11) | |
void swap( valarray& other ) noexcept; |
(since C++11) | |
Swaps the contents with those of other
.
Parameters
other | - | another valarray to swap the contents with |
Return value
(none)