atan

From DavinciWiki
Jump to: navigation, search


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