std::cos
De 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 ); |
(desde C++11) | |
Calcula el coseno de
arg
Original:
Computes cosine of
arg
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.
[editar] Parámetros
arg | - | valor de punto flotante que representa el ángulo en radianes
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. |
[editar] Valor de retorno
coseno de
arg
en el rango [-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.
Domain error se produce si
arg
es infinito. NAN se devuelve en ese caso .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.
[editar] Ver también
sine calcula (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. (función) | |
calcula la tangente (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. (función) | |
calcula arco coseno (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. (función) | |
calcula el coseno de un número complejo (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. (función de plantilla) | |
se aplica la std::cos función a cada elemento de 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. (función de plantilla) |