std::cos
Материал из cppreference.com
|
|
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. |
| Заголовочный файл <cmath>
|
||
| float cos( float arg ); |
||
| double cos( double arg ); |
||
| long double cos( long double arg ); |
||
| double cos( Integral arg ); |
(начиная с C++11) | |
Вычислить косинус
argOriginal:
Computes cosine of
argThe 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.
[править] Параметры
| arg | - | значение с плавающей точкой представляют угла в радианах
Original: floating point value representing angle in radians The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[править] Возвращаемое значение
косинус
arg в диапазоне [-1.0 ; 1.0]. Original:
cosine of
arg in the range [-1.0 ; 1.0]. 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.
Домен ошибка возникает, если
arg бесконечно. NAN возвращается в том случае.Original:
Domain error occurs if
arg is infinite. NAN is returned in that case.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.
[править] См. также
| вычисляет синус (sin(x)) Original: computes sine (sin(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| вычисляет тангенс (tan(x)) Original: computes tangent (tan(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| вычисляет арккосинус (arccos(x)) Original: computes arc cosine (arccos(x)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| вычисляет косинус комплексного числа (cos(z)) Original: computes cosine of a complex number (cos(z)) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| применяет функцию std::cos к каждому элементу valarray Original: applies the function std::cos to each element of valarray The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |