trick/trick_source/trick_utils/math/include/complex.h
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

37 lines
577 B
C

/*
PURPOSE:
(FORTRAN Complex variable type definition)
REFERENCE:
((none))
ASSUMPTIONS AND LIMITATIONS:
((real part is first imaginary part is second))
PROGRAMMERS:
(((Robert W. Bailey) (LinCom) (7/96)))
*/
#ifndef COMPLEX_H
#define COMPLEX_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
float real; /* -- Real part */
float imaginary; /* -- Imaginary part */
} COMPLEX;
typedef struct {
double real; /* -- Real part */
double imaginary; /* -- Imaginary part */
} DCOMPLEX;
#ifdef __cplusplus
}
#endif
#endif