#include <math.h>
#include "complex.h"
Go to the source code of this file.
Functions | |
Complex | c_add (Complex a, Complex b) |
Complex | c_sub (Complex a, Complex b) |
Complex | c_mul (Complex a, Complex b) |
Complex | c_complex (double re, double im) |
Complex | c_conj (Complex z) |
Complex | c_div (Complex a, Complex b) |
double | c_abs (Complex z) |
Complex | c_sqrt (Complex z) |
Complex | c_rcmul (double x, Complex a) |
double c_abs | ( | Complex | z | ) |
Definition at line 84 of file complex.c.
References Complex::i, and Complex::r.
Referenced by c_tridiag().
Complex c_complex | ( | double | re, | |
double | im | |||
) |
Definition at line 66 of file complex.c.
References Complex::i, and Complex::r.
Referenced by c_tridiag().
Definition at line 42 of file complex.c.
References Complex::i, and Complex::r.
Referenced by c_tridiag().
Definition at line 33 of file complex.c.
References Complex::i, and Complex::r.
Referenced by c_tridiag().