ATAN(3) Linux Programmer's Manual ATAN(3)NAME
atan - arc tangent function
SYNOPSIS
#include <math.h>
double atan(double x);
DESCRIPTION
The atan() function calculates the arc tangent of x; that is the value whose tangent is x.
RETURN VALUE
The atan() function returns the arc tangent in radians and the value is mathematically defined to be between -PI/2 and PI/2 (inclusive).
CONFORMING TO
SVID 3, POSIX, BSD 4.3, ISO 9899
SEE ALSO acos(3), asin(3), atan2(3), cos(3), sin(3), tan(3)
1993-06-08 ATAN(3)
Check Out this Related Man Page
ATAN(3) BSD Library Functions Manual ATAN(3)NAME
atan -- arc tangent function of one variable
SYNOPSIS
#include <math.h>
double
atan(double x);
long double
atanl(long double x);
float
atanf(float x);
DESCRIPTION
The atan() function computes the principal value of the arc tangent of x. The result is in the range [-pi/2, +pi/2].
SPECIAL VALUES
atan(+-0) returns +-0.
atan(+-infinity) returns +-pi/2
VECTOR OPERATIONS
If you need to apply the atan() function to SIMD vectors or arrays, using the following functions provided by the Accelerate.framework may
give significantly better performance:
#include <Accelerate/Accelerate.h>
vFloat vatanf(vFloat x);
void vvatanf(float *y, const float *x, const int *n);
void vvatan(double *y, const double *x, const int *n);
SEE ALSO acos(3), asin(3), atan2(3), cos(3), cosh(3), sin(3), sinh(3), tan(3), tanh(3), math(3) The atan() function conforms to ISO/IEC 9899:2011.
BSD December 11, 2006 BSD
Help!!
Anybody out there had much to do with setting up SATAN (Security Admin Tool for Analyzing Networks)?
I need help setting it up on a Linux box. (1 Reply)
has anyone had any experience with SATAN? and can fill me in with some quick pro/cons and maybe some screenshots?
thanks
email removed - read the rules (1 Reply)
Hello All,
I need your help in the following situation. I have a 100x100 matrix with angle values ranging from -180 to 180. I would like to calculate the atan2 values for the above mentioned matrix, and the output should be in the same format (100x100 matrix).
I tried the following code:
... (3 Replies)