Numerics library
Материал из 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. |
C + + цифр библиотека включает в себя общие математические функции и виды, а также оптимизирована числовых массивов и поддержку для генерации случайных чисел.
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.
Содержание |
[править] Общие математические функции
В заголовке
cmath предоставляет стандартная библиотека C математических функций, таких как std::fabs, std::sqrt, и std::sin.Original:
The header
cmath provides стандартная библиотека C математических функций 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.
[править] Комплексные числа
| Определено в файле <complex>
| |
| Комплекс типа номера 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. (шаблон класса) | |
[править] Числовых массивов
| Определено в файле <valarray>
| |
| числовых массивов и ломтики 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. (шаблон класса) | |
[править] Generic числовые операции
| Определено в файле <numeric>
| |
| (C++11) |
заполняет диапазон с последовательным шагом в исходное значение 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. (шаблон функции) |
| вычисляет скалярное произведение двух диапазонах элементы 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. (шаблон функции) | |
| вычисляет частичную сумму ряда элементов 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. (шаблон функции) | |
[править] Псевдослучайных чисел поколения
В заголовке
random определяет псевдослучайных чисел генераторы и численного распределения. В заголовке cstdlib также включает в C-стиле генерации случайных чисел с помощью std::srand и std::rand.Original:
The header
random defines псевдослучайных чисел генераторы и численного распределения. 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.
[править] Компиляция время рациональная арифметика (начиная с C++11)
В заголовке
ratio предоставляет Типы и функции для работы и хранения во время компиляции отношения.Original:
The header
ratio provides Типы и функции для работы и хранения во время компиляции отношения.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.
[править] Плавающей точкой окружающей среды
Определяет заголовок
fenv флаги и функции, связанные с исключительными плавающей точкой государства, таких как переполнение и деление на ноль.Original:
The header
fenv defines флаги и функции, связанные с исключительными плавающей точкой государства, 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.