| Top |
void go_complex_add (GOComplex *dst,GOComplex const *a,GOComplex const *b);
Computes a
plus b
.
void go_complex_addl (GOComplexl *dst,GOComplexl const *a,GOComplexl const *b);
Computes a
plus b
.
void go_complex_addD (GOComplexD *dst,GOComplexD const *a,GOComplexD const *b);
Computes a
plus b
.
void go_complex_conj (GOComplex *dst,GOComplex const *src);
Computes the complex conjugate.
void go_complex_conjl (GOComplexl *dst,GOComplexl const *src);
Computes the complex conjugate.
void go_complex_conjD (GOComplexD *dst,GOComplexD const *src);
Computes the complex conjugate.
void go_complex_cos (GOComplex *dst,GOComplex const *src);
Computes the complex cosine function.
void go_complex_cosl (GOComplexl *dst,GOComplexl const *src);
Computes the complex cosine function.
void go_complex_cosD (GOComplexD *dst,GOComplexD const *src);
Computes the complex cosine function.
void go_complex_div (GOComplex *dst,GOComplex const *a,GOComplex const *b);
Computes a
divided by b
.
void go_complex_divl (GOComplexl *dst,GOComplexl const *a,GOComplexl const *b);
Computes a
divided by b
.
void go_complex_divD (GOComplexD *dst,GOComplexD const *a,GOComplexD const *b);
Computes a
divided by b
.
void go_complex_exp (GOComplex *dst,GOComplex const *src);
Computes the complex exponential function.
void go_complex_expl (GOComplexl *dst,GOComplexl const *src);
Computes the complex exponentiation function.
void go_complex_expD (GOComplexD *dst,GOComplexD const *src);
Computes the complex exponentiation function.
void go_complex_from_polar (GOComplex *dst,double mod,double angle);
Initializes a complex number from polar coordinates.
void go_complex_from_polarl (GOComplexl *dst,long double mod,long double angle);
Initializes a complex number from polar coordinates.
void go_complex_from_polarD (GOComplexD *dst,_Decimal64 mod,_Decimal64 angle);
Initializes a complex number from polar coordinates.
void go_complex_from_polar_pi (GOComplex *dst,double mod,double angle);
Initializes a complex number from polar coordinates, except that the argument is divided by pi to ensure that important values can be represented without rounding errors.
void go_complex_from_polar_pil (GOComplexl *dst,long double mod,long double angle);
Initializes a complex number from polar coordinates, except that the argument is divided by pi to ensure that important values can be represented without rounding errors.
void go_complex_from_polar_piD (GOComplexD *dst,_Decimal64 mod,_Decimal64 angle);
Initializes a complex number from polar coordinates, except that the argument is divided by pi to ensure that important values can be represented without rounding errors.
int go_complex_from_string (GOComplex *dst,char const *src,char *imunit);
int go_complex_from_stringl (GOComplexl *dst,char const *src,char *imunit);
int go_complex_from_stringD (GOComplexD *dst,char const *src,char *imunit);
void go_complex_init (GOComplex *dst,double re,double im);
Initializes a complex number from real and complex parts.
void go_complex_initl (GOComplexl *dst,long double re,long double im);
Initializes a complex number from real and complex parts.
void go_complex_initD (GOComplexD *dst,_Decimal64 re,_Decimal64 im);
Initializes a complex number from real and complex parts.
void
go_complex_invalid (GOComplex *dst);
Initializes a complex number with real and complex parts both NaN.
void
go_complex_invalidl (GOComplexl *dst);
Initializes a complex number with real and complex parts both NaN.
void
go_complex_invalidD (GOComplexD *dst);
Initializes a complex number with real and complex parts both NaN.
void go_complex_ln (GOComplex *dst,GOComplex const *src);
Computes the complex logarithm function's principal branch.
void go_complex_lnl (GOComplexl *dst,GOComplexl const *src);
Computes the complex logarithm function's principal branch.
void go_complex_lnD (GOComplexD *dst,GOComplexD const *src);
Computes the complex logarithm function's principal branch.
void go_complex_mul (GOComplex *dst,GOComplex const *a,GOComplex const *b);
Computes a
multiplied by b
.
void go_complex_mull (GOComplexl *dst,GOComplexl const *a,GOComplexl const *b);
Computes a
multiplied by b
.
void go_complex_mulD (GOComplexD *dst,GOComplexD const *a,GOComplexD const *b);
Computes a
multiplied by b
.
void go_complex_pow (GOComplex *dst,GOComplex const *a,GOComplex const *b);
Computes the complex power a
to the power of b
.
void go_complex_powl (GOComplexl *dst,GOComplexl const *a,GOComplexl const *b);
Computes the complex power a
to the power of b
.
void go_complex_powD (GOComplexD *dst,GOComplexD const *a,GOComplexD const *b);
Computes the complex power a
to the power of b
.
void go_complex_powx (GOComplex *dst,double *e,GOComplex const *a,GOComplex const *b);
void go_complex_powxl (GOComplexl *dst,long double *e,GOComplexl const *a,GOComplexl const *b);
void go_complex_powxD (GOComplexD *dst,_Decimal64 *e,GOComplexD const *a,GOComplexD const *b);
void go_complex_real (GOComplex *dst,double re);
Initializes a complex number from a real value.
void go_complex_reall (GOComplexl *dst,long double re);
Initializes a complex number from a real value.
void go_complex_realD (GOComplexD *dst,_Decimal64 re);
Initializes a complex number from a real value.
void go_complex_scale_real (GOComplex *dst,double f);
Scales a complex number by a real scale.
void go_complex_scale_reall (GOComplexl *dst,long double f);
Scales a complex number by a real scale.
void go_complex_scale_realD (GOComplexD *dst,_Decimal64 f);
Scales a complex number by a real scale.
void go_complex_sin (GOComplex *dst,GOComplex const *src);
Computes the complex sine function.
void go_complex_sinl (GOComplexl *dst,GOComplexl const *src);
Computes the complex sine function.
void go_complex_sinD (GOComplexD *dst,GOComplexD const *src);
Computes the complex sine function.
void go_complex_sqrt (GOComplex *dst,GOComplex const *src);
Computes the complex square root.
void go_complex_sqrtl (GOComplexl *dst,GOComplexl const *src);
Computes the complex square root.
void go_complex_sqrtD (GOComplexD *dst,GOComplexD const *src);
Computes the complex square root.
void go_complex_sub (GOComplex *dst,GOComplex const *a,GOComplex const *b);
Computes a
minus b
.
void go_complex_subl (GOComplexl *dst,GOComplexl const *a,GOComplexl const *b);
Computes a
minus b
.
void go_complex_subD (GOComplexD *dst,GOComplexD const *a,GOComplexD const *b);
Computes a
minus b
.
void go_complex_tan (GOComplex *dst,GOComplex const *src);
Computes the complex tangent function.
void go_complex_tanl (GOComplexl *dst,GOComplexl const *src);
Computes the complex tangent function.
void go_complex_tanD (GOComplexD *dst,GOComplexD const *src);
Computes the complex tangent function.
void go_complex_to_polar (double *mod,double *angle,GOComplex const *src);
Computes the polar coordinates of src
.
void go_complex_to_polarl (long double *mod,long double *angle,GOComplexl const *src);
Computes the polar coordinates of src
.
void go_complex_to_polarD (_Decimal64 *mod,_Decimal64 *angle,GOComplexD const *src);
Computes the polar coordinates of src
.
char * go_complex_to_string (GOComplex const *src,char const *reformat,char const *imformat,char imunit);
char * go_complex_to_stringl (GOComplexl const *src,char const *reformat,char const *imformat,char imunit);
char * go_complex_to_stringD (GOComplexD const *src,char const *reformat,char const *imformat,char imunit);