/* ** -*- C -*- ** ** ** Made by Raffaele.Nutricato@tiscali.it ** ** Copyright Raffaele Nutricato */ #include "RealToComplex.h" floatComplex s0floatcomplexc0(float in) { floatComplex out; out = FloatComplex(in,0); return out; } floatComplex d0floatcomplexc0(double in) { floatComplex out; out = FloatComplex(in,0); return out; } floatComplex c0floatcomplexc0(floatComplex in) { return in; } floatComplex z0floatcomplexc0(doubleComplex in) { floatComplex out; out = FloatComplex((float)zreals(in),(float)zimags(in)); return out; } void s2floatcomplexc2(float* in, int* inSize, floatComplex* out) { int i = 0; for (i=0;i