Files
2025-10-25 03:02:53 +03:00

38 lines
2.2 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[numerics.general]
# 29 Numerics library [[numerics]](./#numerics)
## 29.1 General [numerics.general]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L6)
This Clause describes components that C++ programs may use to perform
seminumerical operations[.](#1.sentence-1)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L10)
The following subclauses describe components for
complex number types, random number generation,
numeric (*n*-at-a-time)
arrays, generalized numeric algorithms, and
mathematical constants and functions for floating-point types,
as summarized in Table [125](#tab:numerics.summary "Table 125: Numerics library summary")[.](#2.sentence-1)
Table [125](#tab:numerics.summary) — Numerics library summary [[tab:numerics.summary]](./tab:numerics.summary)
| [🔗](#tab:numerics.summary-row-1) | **Subclause** | **Header** |
| --- | --- | --- |
| [🔗](#tab:numerics.summary-row-2)<br>[[numeric.requirements]](numeric.requirements "29.2Numeric type requirements") | Requirements | |
| [🔗](#tab:numerics.summary-row-3)<br>[[cfenv]](cfenv "29.3The floating-point environment") | Floating-point environment | <cfenv> |
| [🔗](#tab:numerics.summary-row-4)<br>[[complex.numbers]](complex.numbers "29.4Complex numbers") | Complex numbers | <complex> |
| [🔗](#tab:numerics.summary-row-5)<br>[[rand]](rand "29.5Random number generation") | Random number generation | <random> |
| [🔗](#tab:numerics.summary-row-6)<br>[[numarray]](numarray "29.6Numeric arrays") | Numeric arrays | <valarray> |
| [🔗](#tab:numerics.summary-row-7)<br>[[c.math]](c.math "29.7Mathematical functions for floating-point types") | Mathematical functions for floating-point types | <cmath>, <cstdlib> |
| [🔗](#tab:numerics.summary-row-8)<br>[[numbers]](numbers "29.8Numbers") | Numbers | <numbers> |
| [🔗](#tab:numerics.summary-row-9)<br>[[linalg]](linalg "29.9Basic linear algebra algorithms") | Linear algebra | <linalg> |
| [🔗](#tab:numerics.summary-row-10)<br>[[simd]](simd "29.10Data-parallel types") | Data-parallel types | <simd> |