Functions | |
| mirkl_error_t * | mir_complex_instance_create (mirkl_object_t **obj, double complex val, mirkl_uint32_t flags, mir_prsdata_t *pp, apr_pool_t *pool, apr_pool_t *tmp_pool) |
| mirkl_error_t * | mir_complex_instance_create_dbl (mirkl_object_t **obj, double rp, double ip, mirkl_uint32_t flags, mir_prsdata_t *pp, apr_pool_t *pool, apr_pool_t *tmp_pool) |
| mirkl_error_t * | mir_complex_set_data (mirkl_object_t *obj, double complex val) |
| mirkl_error_t * | mir_complex_set_data_dbl (mirkl_object_t *obj, double rp, double ip) |
| mirkl_error_t * | mir_complex_get_data_dbl (mirkl_object_t *obj, double *rp, double *ip) |
Variables | |
| mirkl_object_t * | MirComplexClass |
| Complex class. | |
| mirkl_error_t * mir_complex_instance_create | ( | mirkl_object_t ** | obj, |
| double complex | val, | ||
| mirkl_uint32_t | flags, | ||
| mir_prsdata_t * | pp, | ||
| apr_pool_t * | pool, | ||
| apr_pool_t * | tmp_pool | ||
| ) |
Creation of Complex object.
| [out] | obj | Reference to the created object. |
| [in] | val | Value for initialization. |
| [in] | flags | Flags of the object. |
| [in] | pp | Reference to the parser data structure. |
| [in] | pool | The pool to use for allocations of object structures. Should be valid as long as the created object lives. |
| [in] | tmp_pool | The pool for temporary allocations. Can be deleted after calling this function. |
| mirkl_error_t * mir_complex_instance_create_dbl | ( | mirkl_object_t ** | obj, |
| double | rp, | ||
| double | ip, | ||
| mirkl_uint32_t | flags, | ||
| mir_prsdata_t * | pp, | ||
| apr_pool_t * | pool, | ||
| apr_pool_t * | tmp_pool | ||
| ) |
Creation of Complex object.
| [out] | obj | Reference to the created object. |
| [in] | rp | Real part value for initialization. |
| [in] | ip | Imaginary part value for initialization. |
| [in] | flags | Flags of the object. |
| [in] | pp | Reference to the parser data structure. |
| [in] | pool | The pool to use for allocations of object structures. Should be valid as long as the created object lives. |
| [in] | tmp_pool | The pool for temporary allocations. Can be deleted after calling this function. |
| mirkl_error_t * mir_complex_set_data | ( | mirkl_object_t * | obj, |
| double complex | val | ||
| ) |
Sets the value of complex number.
| [in] | obj | Reference to the object. |
| [in] | cal | New value of the complex number. |
| mirkl_error_t * mir_complex_set_data_dbl | ( | mirkl_object_t * | obj, |
| double | rp, | ||
| double | ip | ||
| ) |
Sets the value from two double variables.
| [in] | obj | Reference to the object. |
| [in] | rp | Real part. |
| [in] | ip | Imaginary part. |