cos

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
m (Added "sec" to list of related functions)
 
Line 34: Line 34:
 
[[category:Davinci Core]]
 
[[category:Davinci Core]]
 
[[category:Math]]
 
[[category:Math]]
 +
[[category:64-bit]]

Latest revision as of 11:22, 6 July 2009



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