atan

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
m (Atan moved to atan)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Computes the trigonometric arc-tangent of the input value.
+
Computes the trigonometric arc-tangent of the input value. This function also deals with data from -pi/2 to pi/2 and fails when the arc-tangent function becomes undefined. Consequently [[atan2]] only deals with data 0 to 2pi and will not fail when the arc-tangent function becomes undefined.
 
|
 
|
 
Parameters: An array of any numeric data type or organization containing the tangent values of angles in radians.
 
Parameters: An array of any numeric data type or organization containing the tangent values of angles in radians.
Line 6: Line 6:
 
Return Value: An array of identical type and organization of the input containing the arctan of the input
 
Return Value: An array of identical type and organization of the input containing the arctan of the input
 
|
 
|
atan(VAL)
+
[[Syntax]]: atan(object = VAL)
 
|
 
|
 
   dv> a
 
   dv> a
Line 31: Line 31:
 
[[category:Davinci Core]]
 
[[category:Davinci Core]]
 
[[category:Functions]]
 
[[category:Functions]]
 
 
[[category:Math]]
 
[[category:Math]]
 +
[[category:64-bit]]

Latest revision as of 11:24, 6 July 2009



64-bit SafeYes

Description

Computes the trigonometric arc-tangent of the input value. This function also deals with data from -pi/2 to pi/2 and fails when the arc-tangent function becomes undefined. Consequently atan2 only deals with data 0 to 2pi and will not fail when the arc-tangent function becomes undefined.

Arguments and Return Values

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

Return Value: An array of identical type and organization of the input containing the arctan of the input

Usage

Syntax: atan(object = VAL)

Examples

 dv> a
 3x3x1 array of float, bsq format [36 bytes]
 0.869423        0.351752        0.330590
 0.418676        0.764273        0.836920
 1.07670 0.560263        0.811608

 dv> c=atan(a)
 3x3x1 array of float, bsq format [36 bytes]
 0.715663        0.338235        0.319280
 0.396502        0.652573        0.696851
 0.822313        0.510688        0.681779

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