Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

c_log.c

Go to the documentation of this file.
00001 #include "f2c.h"
00002 
00003 #ifdef KR_headers
00004 extern double log(), f__cabs(), atan2();
00005 VOID c_log(r, z) complex *r, *z;
00006 #else
00007 #undef abs
00008 #include "mathh.h"
00009 extern double f__cabs(double, double);
00010 
00011 void c_log(complex *r, complex *z)
00012 #endif
00013 {
00014 r->i = atan2(z->i, z->r);
00015 r->r = log( f__cabs(z->r, z->i) );
00016 }
 

Powered by Plone

This site conforms to the following standards: