|
static void | a_complex_rect (a_complex *ctx, a_float real, a_float imag) |
| constructs a complex number from real and imaginary parts
|
|
void | a_complex_polar (a_complex *ctx, a_float rho, a_float theta) |
| constructs a complex number from polar form
|
|
unsigned int | a_complex_parse (a_complex *ctx, char const *str) |
| parse a string into a complex number
|
|
a_bool | a_complex_eq (a_complex x, a_complex y) |
| complex number x is equal to complex number y
|
|
a_bool | a_complex_ne (a_complex x, a_complex y) |
| complex number x is not equal to complex number y
|
|
a_float | a_complex_logabs (a_complex z) |
| computes the natural logarithm of magnitude of a complex number
|
|
a_float | a_complex_abs2 (a_complex z) |
| computes the squared magnitude of a complex number
|
|
a_float | a_complex_abs (a_complex z) |
| computes the magnitude of a complex number
|
|
a_float | a_complex_arg (a_complex z) |
| computes the phase angle of a complex number
|
|
void | a_complex_proj (a_complex *ctx, a_complex z) |
| computes the projection on Riemann sphere
|
|
void | a_complex_proj_ (a_complex *ctx) |
|
void | a_complex_conj (a_complex *ctx, a_complex z) |
| computes the complex conjugate
|
|
void | a_complex_conj_ (a_complex *ctx) |
|
void | a_complex_neg (a_complex *ctx, a_complex z) |
| computes the complex negative
|
|
void | a_complex_neg_ (a_complex *ctx) |
|
void | a_complex_add (a_complex *ctx, a_complex x, a_complex y) |
| addition of complex numbers
|
|
void | a_complex_add_ (a_complex *ctx, a_complex z) |
|
void | a_complex_add_real (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_add_real_ (a_complex *ctx, a_float x) |
|
void | a_complex_add_imag (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_add_imag_ (a_complex *ctx, a_float x) |
|
void | a_complex_sub (a_complex *ctx, a_complex x, a_complex y) |
| subtraction of complex numbers
|
|
void | a_complex_sub_ (a_complex *ctx, a_complex z) |
|
void | a_complex_sub_real (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_sub_real_ (a_complex *ctx, a_float x) |
|
void | a_complex_sub_imag (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_sub_imag_ (a_complex *ctx, a_float x) |
|
void | a_complex_mul (a_complex *ctx, a_complex x, a_complex y) |
| multiplication of complex numbers
|
|
void | a_complex_mul_ (a_complex *ctx, a_complex z) |
|
void | a_complex_mul_real (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_mul_real_ (a_complex *ctx, a_float x) |
|
void | a_complex_mul_imag (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_mul_imag_ (a_complex *ctx, a_float x) |
|
void | a_complex_div (a_complex *ctx, a_complex x, a_complex y) |
| division of complex numbers
|
|
void | a_complex_div_ (a_complex *ctx, a_complex z) |
|
void | a_complex_div_real (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_div_real_ (a_complex *ctx, a_float x) |
|
void | a_complex_div_imag (a_complex *ctx, a_complex x, a_float y) |
|
void | a_complex_div_imag_ (a_complex *ctx, a_float x) |
|
void | a_complex_inv (a_complex *ctx, a_complex z) |
| inverse of a complex number
|
|
void | a_complex_inv_ (a_complex *ctx) |
|
void | a_complex_sqrt (a_complex *ctx, a_complex z) |
| computes the complex square root
|
|
void | a_complex_sqrt_ (a_complex *ctx) |
|
void | a_complex_sqrt_real (a_complex *ctx, a_float x) |
|
void | a_complex_pow (a_complex *ctx, a_complex z, a_complex a) |
| complex number z raised to complex power a
|
|
void | a_complex_pow_ (a_complex *ctx, a_complex a) |
|
void | a_complex_pow_real (a_complex *ctx, a_complex z, a_float a) |
| complex number z raised to real power a
|
|
void | a_complex_pow_real_ (a_complex *ctx, a_float a) |
|
void | a_complex_exp (a_complex *ctx, a_complex z) |
| computes the complex base-e exponential
|
|
void | a_complex_exp_ (a_complex *ctx) |
|
void | a_complex_log (a_complex *ctx, a_complex z) |
| computes the complex natural logarithm
|
|
void | a_complex_log_ (a_complex *ctx) |
|
void | a_complex_log2 (a_complex *ctx, a_complex z) |
| computes the complex base-2 logarithm
|
|
void | a_complex_log2_ (a_complex *ctx) |
|
void | a_complex_log10 (a_complex *ctx, a_complex z) |
| computes the complex base-10 logarithm
|
|
void | a_complex_log10_ (a_complex *ctx) |
|
void | a_complex_logb (a_complex *ctx, a_complex z, a_complex b) |
| computes the complex base-b logarithm
|
|
void | a_complex_logb_ (a_complex *ctx, a_complex b) |
|
void | a_complex_sin (a_complex *ctx, a_complex z) |
| computes the complex sine
|
|
void | a_complex_sin_ (a_complex *ctx) |
|
void | a_complex_cos (a_complex *ctx, a_complex z) |
| computes the complex cosine
|
|
void | a_complex_cos_ (a_complex *ctx) |
|
void | a_complex_tan (a_complex *ctx, a_complex z) |
| computes the complex tangent
|
|
void | a_complex_tan_ (a_complex *ctx) |
|
void | a_complex_sec (a_complex *ctx, a_complex z) |
| computes the complex secant
|
|
void | a_complex_sec_ (a_complex *ctx) |
|
void | a_complex_csc (a_complex *ctx, a_complex z) |
| computes the complex cosecant
|
|
void | a_complex_csc_ (a_complex *ctx) |
|
void | a_complex_cot (a_complex *ctx, a_complex z) |
| computes the complex cotangent
|
|
void | a_complex_cot_ (a_complex *ctx) |
|
void | a_complex_asin (a_complex *ctx, a_complex z) |
| computes the complex arc sine
|
|
void | a_complex_asin_ (a_complex *ctx) |
|
void | a_complex_asin_real (a_complex *ctx, a_float x) |
|
void | a_complex_acos (a_complex *ctx, a_complex z) |
| computes the complex arc cosine
|
|
void | a_complex_acos_ (a_complex *ctx) |
|
void | a_complex_acos_real (a_complex *ctx, a_float x) |
|
void | a_complex_atan (a_complex *ctx, a_complex z) |
| computes the complex arc tangent
|
|
void | a_complex_atan_ (a_complex *ctx) |
|
void | a_complex_asec (a_complex *ctx, a_complex z) |
| computes the complex arc secant
|
|
void | a_complex_asec_ (a_complex *ctx) |
|
void | a_complex_asec_real (a_complex *ctx, a_float x) |
|
void | a_complex_acsc (a_complex *ctx, a_complex z) |
| computes the complex arc cosecant
|
|
void | a_complex_acsc_ (a_complex *ctx) |
|
void | a_complex_acsc_real (a_complex *ctx, a_float x) |
|
void | a_complex_acot (a_complex *ctx, a_complex z) |
| computes the complex arc cotangent
|
|
void | a_complex_acot_ (a_complex *ctx) |
|
void | a_complex_sinh (a_complex *ctx, a_complex z) |
| computes the complex hyperbolic sine
|
|
void | a_complex_sinh_ (a_complex *ctx) |
|
void | a_complex_cosh (a_complex *ctx, a_complex z) |
| computes the complex hyperbolic cosine
|
|
void | a_complex_cosh_ (a_complex *ctx) |
|
void | a_complex_tanh (a_complex *ctx, a_complex z) |
| computes the complex hyperbolic tangent
|
|
void | a_complex_tanh_ (a_complex *ctx) |
|
void | a_complex_sech (a_complex *ctx, a_complex z) |
| computes the complex hyperbolic secant
|
|
void | a_complex_sech_ (a_complex *ctx) |
|
void | a_complex_csch (a_complex *ctx, a_complex z) |
| computes the complex hyperbolic cosecant
|
|
void | a_complex_csch_ (a_complex *ctx) |
|
void | a_complex_coth (a_complex *ctx, a_complex z) |
| computes the complex hyperbolic cotangent
|
|
void | a_complex_coth_ (a_complex *ctx) |
|
void | a_complex_asinh (a_complex *ctx, a_complex z) |
| computes the complex arc hyperbolic sine
|
|
void | a_complex_asinh_ (a_complex *ctx) |
|
void | a_complex_acosh (a_complex *ctx, a_complex z) |
| computes the complex arc hyperbolic cosine
|
|
void | a_complex_acosh_ (a_complex *ctx) |
|
void | a_complex_acosh_real (a_complex *ctx, a_float x) |
|
void | a_complex_atanh (a_complex *ctx, a_complex z) |
| computes the complex arc hyperbolic tangent
|
|
void | a_complex_atanh_ (a_complex *ctx) |
|
void | a_complex_atanh_real (a_complex *ctx, a_float x) |
|
void | a_complex_asech (a_complex *ctx, a_complex z) |
| computes the complex arc hyperbolic secant
|
|
void | a_complex_asech_ (a_complex *ctx) |
|
void | a_complex_acsch (a_complex *ctx, a_complex z) |
| computes the complex arc hyperbolic cosecant
|
|
void | a_complex_acsch_ (a_complex *ctx) |
|
void | a_complex_acoth (a_complex *ctx, a_complex z) |
| computes the complex arc hyperbolic cotangent
|
|
void | a_complex_acoth_ (a_complex *ctx) |
|