Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96961065
polxy.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 1, 03:24
Size
634 B
Mime Type
text/x-c
Expires
Fri, Jan 3, 03:24 (2 d)
Engine
blob
Format
Raw Data
Handle
23300101
Attached To
R1448 Lenstool-HPC
polxy.c
View Options
#include<stdio.h>
#include<math.h>
#include<fonction.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
/****************************************************************/
/* nom: polxy */
/* auteur: Jean-Paul Kneib */
/* date: 10/02/92 */
/* place: Toulouse */
/****************************************************************
* Global variables used :
* - none
*/
struct
polar
polxy
(
struct
point
xy
)
{
struct
polar
pol
;
pol
.
r
=
sqrt
(
xy
.
x
*
xy
.
x
+
xy
.
y
*
xy
.
y
);
pol
.
theta
=
atan2
(
xy
.
y
,
xy
.
x
);
return
(
pol
);
}
Event Timeline
Log In to Comment