| 常用数学函数 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 数学特殊函数 (C++17) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 数学常数 (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 基本线性代数算法 (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 数据并行类型(SIMD) (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 浮点数环境 (C++11) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 复数 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
数值数组 (valarray) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 伪随机数生成 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 位操纵 (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 饱和算术 (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 因数运算 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 插值 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 泛型算术运算 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C 风格带检查整数算术 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 成员函数 | ||||
void operator+=( const std::valarray<T>& other ) const;
|
||
void operator-=( const std::valarray<T>& other ) const;
|
||
void operator*=( const std::valarray<T>& other ) const;
|
||
void operator/=( const std::valarray<T>& other ) const;
|
||
void operator%=( const std::valarray<T>& other ) const;
|
||
void operator&=( const std::valarray<T>& other ) const;
|
||
void operator|=( const std::valarray<T>& other ) const;
|
||
void operator^=( const std::valarray<T>& other ) const;
|
||
void operator<<=( const std::valarray<T>& other ) const;
|
||
void operator>>=( const std::valarray<T>& other ) const;
|
||
向所引用元素和 other 的元素应用相应的运算。
| other | - | 作为获取值来源的实参数组 |
(无)
可能会抛出由实现定义的异常。
| 本节未完成 原因:暂无示例 |