cos

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Computes the trigonometric cosine of the input value.

Arguments and Return Values

Parameters: An array of any numeric data type or organization containing the values of angles in radians.

Return Value: An float array of the same organization as the input containing the cosine of the input

Usage

Syntax: cos(object = VAL)

Examples

dv> a
3x3x1 array of float, bsq format [36 bytes]
1.24907         0.590331        0.557249
0.692027        1.13896         1.21623
1.43521         0.891319        1.18993

dv> b=cos(a)
3x3x1 array of float, bsq format [36 bytes]
0.316207        0.830756        0.848713
0.769954        0.418543        0.347180
0.135175        0.628387        0.371726

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 07-06-2009

Personal tools