real 79 apps/fft/fft_aot_test.cpp float real = re(out, i, 0); real 81 apps/fft/fft_aot_test.cpp float magnitude = sqrt(real * real + imaginary * imaginary); real 86 apps/fft/fft_aot_test.cpp float phase_angle = atan2(imaginary, real); real 92 apps/fft/fft_aot_test.cpp real = re(out, 0, i); real 94 apps/fft/fft_aot_test.cpp magnitude = sqrt(real * real + imaginary * imaginary); real 99 apps/fft/fft_aot_test.cpp phase_angle = atan2(imaginary, real); real 114 apps/fft/fft_aot_test.cpp float real = re(out, i, j); real 116 apps/fft/fft_aot_test.cpp if (fabs(real) > .001) { real 117 apps/fft/fft_aot_test.cpp std::cerr << "fft_forward_r2c real component at (" << i << ", " << j << ") is non-zero: " << real << std::endl; real 203 apps/fft/fft_aot_test.cpp float real = re(out, i, 0); real 205 apps/fft/fft_aot_test.cpp float magnitude = sqrt(real * real + imaginary * imaginary); real 210 apps/fft/fft_aot_test.cpp float phase_angle = atan2(imaginary, real); real 216 apps/fft/fft_aot_test.cpp real = re(out, 0, i); real 218 apps/fft/fft_aot_test.cpp magnitude = sqrt(real * real + imaginary * imaginary); real 223 apps/fft/fft_aot_test.cpp phase_angle = atan2(imaginary, real); real 239 apps/fft/fft_aot_test.cpp float real = re(out, i, j); real 241 apps/fft/fft_aot_test.cpp if (fabs(real) > .001) { real 242 apps/fft/fft_aot_test.cpp std::cerr << "fft_forward_c2c real component at (" << i << ", " << j << ") is non-zero: " << real << std::endl; real 47 test/correctness/side_effects.cpp Complex(Expr real, Expr imag) : t(real, imag) {} real 58 test/correctness/side_effects.cpp return Complex(a.real() + b.real(), real 63 test/correctness/side_effects.cpp return Complex(a.real() - b.real(), real 68 test/correctness/side_effects.cpp return Complex(a.real() * b.real() - a.imag() * b.imag(), real 69 test/correctness/side_effects.cpp a.real() * b.imag() + a.imag() * b.real()); real 73 test/correctness/side_effects.cpp return Complex(a.real(), -a.imag()); real 77 test/correctness/side_effects.cpp return (a * conjugate(a)).real(); real 11 test/generator/mandelbrot_generator.cpp Complex(Expr real, Expr imag) : t(real, imag) {} real 22 test/generator/mandelbrot_generator.cpp return Complex(a.real() + b.real(), a.imag() + b.imag()); real 26 test/generator/mandelbrot_generator.cpp return Complex(a.real() * b.real() - a.imag() * b.imag(), real 27 test/generator/mandelbrot_generator.cpp a.real() * b.imag() + a.imag() * b.real()); real 30 test/generator/mandelbrot_generator.cpp Complex conjugate(const Complex &a) { return Complex(a.real(), -a.imag()); } real 32 test/generator/mandelbrot_generator.cpp Expr magnitude(Complex a) { return (a * conjugate(a)).real(); } real 11 test/generator/memory_profiler_mandelbrot_generator.cpp Complex(Expr real, Expr imag) : t(real, imag) {} real 22 test/generator/memory_profiler_mandelbrot_generator.cpp return Complex(a.real() + b.real(), a.imag() + b.imag()); real 26 test/generator/memory_profiler_mandelbrot_generator.cpp return Complex(a.real() * b.real() - a.imag() * b.imag(), real 27 test/generator/memory_profiler_mandelbrot_generator.cpp a.real() * b.imag() + a.imag() * b.real()); real 30 test/generator/memory_profiler_mandelbrot_generator.cpp Complex conjugate(const Complex &a) { return Complex(a.real(), -a.imag()); } real 32 test/generator/memory_profiler_mandelbrot_generator.cpp Expr magnitude(Complex a) { return (a * conjugate(a)).real(); } real 203 tutorial/lesson_13_tuples.cpp Expr real, imag; real 206 tutorial/lesson_13_tuples.cpp Complex(Tuple t) : real(t[0]), imag(t[1]) {} real 209 tutorial/lesson_13_tuples.cpp Complex(Expr r, Expr i) : real(r), imag(i) {} real 216 tutorial/lesson_13_tuples.cpp return {real, imag}; real 221 tutorial/lesson_13_tuples.cpp return {real + other.real, imag + other.imag}; real 226 tutorial/lesson_13_tuples.cpp return {real * other.real - imag * other.imag, real 227 tutorial/lesson_13_tuples.cpp real * other.imag + imag * other.real}; real 232 tutorial/lesson_13_tuples.cpp return real * real + imag * imag;