Last change
on this file since 71ac835 was
9e531f2,
checked in by krzywon, 9 years ago
|
Code Cleanup - Fix build?!?!
|
-
Property mode set to
100644
|
File size:
787 bytes
|
Rev | Line | |
---|
[9e531f2] | 1 | #if !defined(librefl_h) |
---|
| 2 | #define librefl_h |
---|
| 3 | |
---|
| 4 | typedef struct { |
---|
| 5 | double re; |
---|
| 6 | double im; |
---|
| 7 | } complex; |
---|
| 8 | |
---|
| 9 | typedef struct { |
---|
| 10 | complex a; |
---|
| 11 | complex b; |
---|
| 12 | complex c; |
---|
| 13 | complex d; |
---|
| 14 | } matrix; |
---|
| 15 | |
---|
| 16 | complex cassign(double real, double imag); |
---|
| 17 | |
---|
| 18 | complex cplx_add(complex x,complex y); |
---|
| 19 | |
---|
| 20 | complex rcmult(double x,complex y); |
---|
| 21 | |
---|
| 22 | complex cplx_sub(complex x,complex y); |
---|
| 23 | |
---|
| 24 | complex cplx_mult(complex x,complex y); |
---|
| 25 | |
---|
| 26 | complex cplx_div(complex x,complex y); |
---|
| 27 | |
---|
| 28 | complex cplx_exp(complex b); |
---|
| 29 | |
---|
| 30 | complex cplx_sqrt(complex z); |
---|
| 31 | |
---|
| 32 | complex cplx_cos(complex b); |
---|
| 33 | |
---|
| 34 | double intersldfunc(int fun_type, double n_sub, double i, double nu, double sld_l, double sld_r); |
---|
| 35 | double interfunc(int fun_type, double n_sub, double i, double sld_l, double sld_r); |
---|
| 36 | double linePq(int fun_type, double thick, double sld_in, double sld_out,double r, double q); |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.