summaryrefslogtreecommitdiff
path: root/macros/CFiles/sci2cincludes/RealToComplex.h
blob: 6de98be2a8e01f727bd4bd0a070186a0c014332d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
**  -*- C -*-
**
** 
** Made by  Raffaele.Nutricato@tiscali.it
**
** Copyright Raffaele Nutricato
*/

#ifndef __REALTOCOMPLEX_H__
#define __REALTOCOMPLEX_H__

#include "floatComplex.h"
#include "doubleComplex.h"

floatComplex s0floatcomplexc0(float in);
floatComplex d0floatcomplexc0(double in); 
floatComplex c0floatcomplexc0(floatComplex in);
floatComplex z0floatcomplexc0(doubleComplex in);
void s2floatcomplexc2(float* in, int* inSize, floatComplex* out);
void d2floatcomplexc2(double* in, int* inSize, floatComplex* out);
void c2floatcomplexc2(floatComplex* in, int* inSize, floatComplex* out);
void z2floatcomplexc2(doubleComplex* in, int* inSize, floatComplex* out);

doubleComplex s0doublecomplexz0(float in);
doubleComplex d0doublecomplexz0(double in);
doubleComplex c0doublecomplexz0(floatComplex in);
doubleComplex z0doublecomplexz0(doubleComplex in);
void s2doublecomplexz2(float* in, int* inSize, doubleComplex* out);
void d2doublecomplexz2(double* in, int* inSize, doubleComplex* out);
void c2doublecomplexz2(floatComplex* in, int* inSize, doubleComplex* out);
void z2doublecomplexz2(doubleComplex* in, int* inSize, doubleComplex* out);
#endif /* !__REALTOCOMPLEX_H__ */