#include <math.h>
#include <stdlib.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | complex |
ChainLink complex data type. More... | |
Typedefs | |
typedef float | real |
ChainLink real data type. | |
typedef long | int32 |
Functions | |
complex | cplex (real re, real im) |
complex | operator * (complex X1, complex X2) |
complex | operator/ (complex X1, complex X2) |
complex | operator+ (complex X1, complex X2) |
complex | operator- (complex X1, complex X2) |
complex | operator * (complex X1, real X2) |
complex | operator/ (complex X1, real X2) |
complex | operator+ (complex X1, real X2) |
complex | operator- (complex X1, real X2) |
complex | operator/ (real X1, complex X2) |
bool | operator== (complex X1, complex X2) |
bool | operator== (complex X1, real X2) |
bool | operator== (real X1, complex X2) |
real | abs (complex X) |
complex | conj (complex X) |
complex | exp (complex X) |
complex | log (complex X) |
void | get_complex_string (char *ret, complex X) |
complex | power (const complex &x, const complex &y) |
typedef float real |
ChainLink real data type.
Either single or double floating point (determined at ChainLink compilation time) Note: using double precision has not yet been tested
void get_complex_string | ( | char * | ret, | |
complex | X | |||
) |
Convert complex number to string