mirror of
https://github.com/nasa/trick.git
synced 2025-01-10 15:02:58 +00:00
14a75508a3
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.
37 lines
577 B
C
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
|