FANDOM


Cos

NameEdit

cos - returns cosine of scalars and vectors.

SynopsisEdit

vector1 cos(vector1 a);
vector2 cos(vector2 a);
vector3 cos(vector3 a);
vector4 cos(vector4 a);

ParametersEdit

a
Vector or scalar of which to determine the cosine.

DescriptionEdit

Returns the cosine of a in radians. The return value is in the range [-1,+1].

For vectors, the returned vector contains the cosine of each element of the input vector.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.