Numerics library
Aus cppreference.com
< cpp
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Die C + + Numerik-Bibliothek enthält allgemeine mathematische Funktionen und Typen, sowie optimierte numerische Arrays und Unterstützung für Zufallszahlen .
Original:
The C++ numerics library includes common mathematical functions and types, as well as optimized numeric arrays and support for random number generation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis |
[Bearbeiten] Gemeinsame mathematischen Funktionen
Der Header
cmath
bietet Standard-C-Bibliothek mathematischer Funktionen wie std::fabs, std::sqrt und std::sin .Original:
The header
cmath
provides Standard-C-Bibliothek mathematischer Funktionen such as std::fabs, std::sqrt, and std::sin.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Komplexe Zahlen
definiert in Header
<complex> | |
eine komplexe Zahl aus Original: a complex number type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) |
[Bearbeiten] Numerische Arrays
definiert in Header
<valarray> | |
numerische Arrays und Array-Slices Original: numeric arrays and array slices The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) |
[Bearbeiten] Generische numerische Operationen
definiert in Header
<numeric> | |
(C++11) |
füllt einen Bereich mit aufeinanderfolgenden Schritten des Startwertes Original: fills a range with successive increments of the starting value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
fasst eine Reihe von Elementen Original: sums up a range of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
berechnet das innere Produkt von zwei Bereichen der Elemente Original: computes the inner product of two ranges of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
berechnet die Differenzen zwischen benachbarten Elementen in einer Reihe Original: computes the differences between adjacent elements in a range The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) | |
berechnet die Teilsumme von einer Reihe von Elementen Original: computes the partial sum of a range of elements The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
[Bearbeiten] Pseudo-Zufallszahlen
Der Header
random
definiert Pseudo-Zufallszahlengeneratoren und numerische Verteilungen. Der Header cstdlib
auch C-style Erzeugung von Zufallszahlen via std::srand und std::rand .Original:
The header
random
defines Pseudo-Zufallszahlengeneratoren und numerische Verteilungen. The header cstdlib
also includes C-style random number generation via std::srand and std::rand.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Compile-Zeit rationale Arithmetik (seit C++11)
Der Header
ratio
bietet Typen und Funktionen für die Bearbeitung und Speicherung von Compile-Zeit-Verhältnisse .Original:
The header
ratio
provides Typen und Funktionen für die Bearbeitung und Speicherung von Compile-Zeit-Verhältnisse.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Floating-Point-Umgebung
Der Header
fenv
Defines Fahnen und Funktionen im Zusammenhang mit außergewöhnlichen Floating-Point-Zustand, wie Überlauf und Division durch Null .Original:
The header
fenv
defines Fahnen und Funktionen im Zusammenhang mit außergewöhnlichen Floating-Point-Zustand, such as overflow and division by zero.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.