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. |
| Defined in header <cmath>
|
||
| float cos( float arg ); |
||
| double cos( double arg ); |
||
| long double cos( long double arg ); |
||
| double cos( Integral arg ); |
(C + + 11以来) | |
argの余弦を計算Original:
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. (関数テンプレート) | |
| valarrayの各要素に関数を適用しstd::cos 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. (関数テンプレート) | |