AgsComplex
AgsComplex — Boxed type of complex
|
|
Object Hierarchy
GBoxed
╰── AgsComplex
Includes
#include <ags/lib/ags_complex.h>
Description
Boxed type of complex data type.
Functions
ags_complex_copy ()
gpointer
ags_complex_copy (AgsComplex *ptr
);
Create a copy of ptr
.
Since: 3.0.0
ags_complex_free ()
void
ags_complex_free (AgsComplex *ptr
);
Free the memory of ptr
.
Since: 3.0.0
ags_complex_get ()
complex
ags_complex_get (AgsComplex *ptr
);
Get complex number.
Returns
number as complex data type
Since: 3.0.0
ags_complex_set ()
void
ags_complex_set (AgsComplex *ptr
,
complex z
);
Set complex number.
Since: 3.0.0
ags_complex_get_type ()
GType
ags_complex_get_type (void
);
Types and Values
AGS_COMPLEX_M_E
#define AGS_COMPLEX_M_E (M_E + I * 0.0)
AGS_COMPLEX_M_PI
#define AGS_COMPLEX_M_PI (M_PI + I * 0.0)
AGS_TYPE_COMPLEX
#define AGS_TYPE_COMPLEX (ags_complex_get_type())
struct AgsComplex
struct AgsComplex {
gdouble real;
gdouble imag;
};