ap.h
Go to the documentation of this file.
460 char *out_str; /* pointer to the current position at the output buffer; advanced with each write operation */
461 const char *in_str; /* pointer to the current position at the input buffer; advanced with each read operation */
552 /* frame entry; used to ensure automatic deallocation of smart pointer in case of exception/exit */
655 ae_bool ae_db_malloc(ae_dyn_block *block, ae_int_t size, ae_state *state, ae_bool make_automatic);
669 void ae_matrix_init(ae_matrix *dst, ae_int_t rows, ae_int_t cols, ae_datatype datatype, ae_state *state);
681 void ae_smart_ptr_assign(ae_smart_ptr *dst, void *new_ptr, ae_bool is_owner, ae_bool is_dynamic, void (*destroy)(void*));
757 void ae_serializer_sstart_stream(ae_serializer *serializer, ae_stream_writer writer, ae_int_t aux);
758 void ae_serializer_ustart_stream(ae_serializer *serializer, ae_stream_reader reader, ae_int_t aux);
865 ae_complex ae_v_cdotproduct(const ae_complex *v0, ae_int_t stride0, const char *conj0, const ae_complex *v1, ae_int_t stride1, const char *conj1, ae_int_t n);
866 void ae_v_cmove(ae_complex *vdst, ae_int_t stride_dst, const ae_complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
867 void ae_v_cmoveneg(ae_complex *vdst, ae_int_t stride_dst, const ae_complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
868 void ae_v_cmoved(ae_complex *vdst, ae_int_t stride_dst, const ae_complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha);
869 void ae_v_cmovec(ae_complex *vdst, ae_int_t stride_dst, const ae_complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, ae_complex alpha);
870 void ae_v_cadd(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
871 void ae_v_caddd(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha);
872 void ae_v_caddc(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, ae_complex alpha);
873 void ae_v_csub(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
874 void ae_v_csubd(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha);
875 void ae_v_csubc(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, ae_complex alpha);
882 double ae_v_dotproduct(const double *v0, ae_int_t stride0, const double *v1, ae_int_t stride1, ae_int_t n);
883 void ae_v_move(double *vdst, ae_int_t stride_dst, const double* vsrc, ae_int_t stride_src, ae_int_t n);
884 void ae_v_moveneg(double *vdst, ae_int_t stride_dst, const double* vsrc, ae_int_t stride_src, ae_int_t n);
885 void ae_v_moved(double *vdst, ae_int_t stride_dst, const double* vsrc, ae_int_t stride_src, ae_int_t n, double alpha);
886 void ae_v_add(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n);
887 void ae_v_addd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha);
888 void ae_v_sub(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n);
889 void ae_v_subd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha);
987 };
1055 double vdotproduct(const double *v0, ae_int_t stride0, const double *v1, ae_int_t stride1, ae_int_t n);
1058 alglib::complex vdotproduct(const alglib::complex *v0, ae_int_t stride0, const char *conj0, const alglib::complex *v1, ae_int_t stride1, const char *conj1, ae_int_t n);
1061 void vmove(double *vdst, ae_int_t stride_dst, const double* vsrc, ae_int_t stride_src, ae_int_t n);
1064 void vmove(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
1067 void vmoveneg(double *vdst, ae_int_t stride_dst, const double* vsrc, ae_int_t stride_src, ae_int_t n);
1070 void vmoveneg(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
1073 void vmove(double *vdst, ae_int_t stride_dst, const double* vsrc, ae_int_t stride_src, ae_int_t n, double alpha);
1076 void vmove(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha);
1079 void vmove(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, alglib::complex alpha);
1080 void vmove(alglib::complex *vdst, const alglib::complex *vsrc, ae_int_t N, alglib::complex alpha);
1082 void vadd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n);
1085 void vadd(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
1088 void vadd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha);
1091 void vadd(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha);
1094 void vadd(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, alglib::complex alpha);
1095 void vadd(alglib::complex *vdst, const alglib::complex *vsrc, ae_int_t N, alglib::complex alpha);
1097 void vsub(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n);
1100 void vsub(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n);
1103 void vsub(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha);
1106 void vsub(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha);
1109 void vsub(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, alglib::complex alpha);
1110 void vsub(alglib::complex *vdst, const alglib::complex *vsrc, ae_int_t N, alglib::complex alpha);
1181 };
1184 {
1551 void _ialglib_vcopy(ae_int_t n, const double *a, ae_int_t stridea, double *b, ae_int_t strideb);
1552 void _ialglib_vcopy_complex(ae_int_t n, const ae_complex *a, ae_int_t stridea, double *b, ae_int_t strideb, const char *conj);
1553 void _ialglib_vcopy_dcomplex(ae_int_t n, const double *a, ae_int_t stridea, double *b, ae_int_t strideb, const char *conj);
1554 void _ialglib_mcopyblock(ae_int_t m, ae_int_t n, const double *a, ae_int_t op, ae_int_t stride, double *b);
1555 void _ialglib_mcopyunblock(ae_int_t m, ae_int_t n, const double *a, ae_int_t op, double *b, ae_int_t stride);
1556 void _ialglib_mcopyblock_complex(ae_int_t m, ae_int_t n, const ae_complex *a, ae_int_t op, ae_int_t stride, double *b);
1557 void _ialglib_mcopyunblock_complex(ae_int_t m, ae_int_t n, const double *a, ae_int_t op, ae_complex* b, ae_int_t stride);
integer_2d_array(const integer_2d_array &rhs)
ae_bool ae_fp_greater_eq(double v1, double v2)
ae_bool ae_isneginf_stateless(double x, ae_int_t endianness)
static void make_assertion(bool bClause)
complex & operator+=(const double &v)
ae_bool ae_isfinite_stateless(double x, ae_int_t endianness)
ae_complex ae_c_sub_d(ae_complex lhs, double rhs)
const double fp_nan
double & operator()(ae_int_t i)
ae_bool & operator()(ae_int_t i)
int maxint(int m1, int m2)
complex & operator-=(const double &v)
int minint(int m1, int m2)
ae_complex ae_c_div_d(ae_complex lhs, double rhs)
void read_csv(const char *filename, char separator, int flags, alglib::real_2d_array &out)
ae_vector_wrapper()
virtual ~real_1d_array()
integer_1d_array(const integer_1d_array &rhs)
complex_1d_array(const complex_1d_array &rhs)
int trunc(double x)
virtual ~integer_2d_array()
void setcontent(ae_int_t iLen, const double *pContent)
integer_1d_array()
void ae_serializer_serialize_bool(ae_serializer *serializer, ae_bool v, ae_state *state)
const double fp_neginf
void ae_shared_pool_clear_recycled(ae_shared_pool *pool, ae_state *state)
boolean_2d_array(const boolean_2d_array &rhs)
void _rcommstate_clear(rcommstate *p)
ae_bool ae_is_symmetric(ae_matrix *a)
ae_bool ae_matrix_set_length(ae_matrix *dst, ae_int_t rows, ae_int_t cols, ae_state *state)
std::string tostring() const
void ae_x_set_vector(x_vector *dst, ae_vector *src, ae_state *state)
complex_1d_array()
void ae_free_lock(ae_lock *lock)
Definition: ap.h:1393
void ae_shared_pool_init_copy(void *_dst, void *_src, ae_state *state)
const ae_int_t * operator[](ae_int_t i) const
std::string tostring(int dps) const
double ae_tan(double x, ae_state *state)
double ae_c_abs(ae_complex z, ae_state *state)
ae_int_t & operator()(ae_int_t i)
const real_1d_array & operator=(const real_1d_array &rhs)
integer_2d_array()
Definition: ap.h:1254
double ae_sqr(double x, ae_state *state)
const double maxrealnumber
void aligned_free(void *block)
void ae_swap_matrices(ae_matrix *mat1, ae_matrix *mat2)
ae_int_t ae_trunc(double x, ae_state *state)
const ae_bool & operator()(ae_int_t i, ae_int_t j) const
const complex_1d_array & operator=(const complex_1d_array &rhs)
struct alglib_impl::ae_shared_pool ae_shared_pool
complex_2d_array()
alglib::complex csqr(const alglib::complex &z)
ae_bool * getcontent()
void ae_v_cmove(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n)
const alglib::complex * operator[](ae_int_t i) const
ae_complex ae_c_div(ae_complex lhs, ae_complex rhs)
const ae_int_t & operator[](ae_int_t i) const
double * getcontent()
void _ialglib_vcopy_dcomplex(ae_int_t n, const double *a, ae_int_t stridea, double *b, ae_int_t strideb, const char *conj)
void ae_v_csubd(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha)
boolean_2d_array(alglib_impl::ae_matrix *p)
const alglib::complex operator*(const alglib::complex &lhs, const alglib::complex &rhs)
double ae_randomreal(ae_state *state)
bool fp_isnan(double x)
const alglib::complex & operator()(ae_int_t i, ae_int_t j) const
void ae_smart_ptr_assign(ae_smart_ptr *dst, void *new_ptr, ae_bool is_owner, ae_bool is_dynamic, void(*destroy)(void *))
void vadd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
const alglib::complex operator+(const alglib::complex &lhs)
ae_bool & operator()(ae_int_t i, ae_int_t j)
ae_complex ae_c_sqr(ae_complex lhs, ae_state *state)
complex()
void create(const char *s, alglib_impl::ae_datatype datatype)
void ae_x_set_matrix(x_matrix *dst, ae_matrix *src, ae_state *state)
double ae_sin(double x, ae_state *state)
ae_int_t rows() const
struct alglib_impl::rcommstate rcommstate
void _ialglib_mcopyblock_complex(ae_int_t m, ae_int_t n, const ae_complex *a, ae_int_t op, ae_int_t stride, double *b)
struct alglib_impl::ae_dyn_block ae_dyn_block
virtual ~ae_matrix_wrapper()
double ae_cos(double x, ae_state *state)
virtual ~boolean_1d_array()
ae_int_t getstride() const
ae_int_t ae_serializer_get_alloc_size(ae_serializer *serializer)
ae_complex ae_c_sub(ae_complex lhs, ae_complex rhs)
const double & operator()(ae_int_t i, ae_int_t j) const
void ae_v_move(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
std::string tostring() const
boolean_1d_array()
ae_int_t length() const
const ae_bool & operator[](ae_int_t i) const
const bool operator==(const alglib::complex &lhs, const alglib::complex &rhs)
void setcontent(ae_int_t irows, ae_int_t icols, const alglib::complex *pContent)
ae_bool ae_isneginf(double x, ae_state *state)
void * ae_malloc(size_t size, ae_state *state)
ae_bool x_force_symmetric(x_matrix *a)
Definition: ap.h:993
ae_int_t ae_misalignment(const void *ptr, size_t alignment)
boolean_1d_array(const boolean_1d_array &rhs)
ae_bool ae_c_neq(ae_complex lhs, ae_complex rhs)
ae_complex ae_v_cdotproduct(const ae_complex *v0, ae_int_t stride0, const char *conj0, const ae_complex *v1, ae_int_t stride1, const char *conj1, ae_int_t n)
const double & operator()(ae_int_t i) const
bool fp_isposinf(double x)
const double * operator[](ae_int_t i) const
ae_bool ae_fp_less_eq(double v1, double v2)
void setcontent(ae_int_t iLen, const ae_int_t *pContent)
double ae_v_dotproduct(const double *v0, ae_int_t stride0, const double *v1, ae_int_t stride1, ae_int_t n)
double minreal(double m1, double m2)
ae_bool ae_isposinf_stateless(double x, ae_int_t endianness)
double abscomplex(const alglib::complex &z)
complex & operator=(const double &v)
ae_bool ae_vector_set_length(ae_vector *dst, ae_int_t newsize, ae_state *state)
void ae_db_swap(ae_dyn_block *block1, ae_dyn_block *block2)
void ae_vector_init_copy(ae_vector *dst, ae_vector *src, ae_state *state)
void ae_x_attach_to_vector(x_vector *dst, ae_vector *src)
struct alglib_impl::ae_smart_ptr ae_smart_ptr
ae_int_t ae_get_endianness()
complex_2d_array(const complex_2d_array &rhs)
union alglib_impl::ae_vector::@4 ptr
const double & operator[](ae_int_t i) const
Definition: ap.h:450
bool fp_isneginf(double x)
ae_bool ae_isposinf(double x, ae_state *state)
struct alglib_impl::ae_frame ae_frame
void attach_to(alglib_impl::ae_vector *ptr)
void ae_shared_pool_recycle(ae_shared_pool *pool, ae_smart_ptr *pptr, ae_state *state)
const ae_int_t & operator()(ae_int_t i, ae_int_t j) const
ae_bool ae_c_neq_d(ae_complex lhs, double rhs)
const ae_vector_wrapper & operator=(const ae_vector_wrapper &rhs)
void ae_frame_make(ae_state *state, ae_frame *tmp)
Definition: ap.h:571
alglib::complex & operator()(ae_int_t i, ae_int_t j)
ae_bool ae_fp_eq(double v1, double v2)
void ae_v_moved(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha)
Definition: ap.h:978
alglib::complex & operator()(ae_int_t i)
void ae_matrix_destroy(ae_matrix *dst)
void ae_matrix_init_copy(ae_matrix *dst, ae_matrix *src, ae_state *state)
void ae_acquire_lock(ae_lock *lock)
alglib::complex conj(const alglib::complex &z)
bool fp_less_eq(double v1, double v2)
const ae_int_t endianness
ae_int_t & operator[](ae_int_t i)
ap_error()
std::string tostring(int dps) const
double * operator[](ae_int_t i)
double ae_atan2(double y, double x, ae_state *state)
Definition: ap.h:326
void setlength(ae_int_t iLen)
Definition: ap.h:1333
integer_1d_array(alglib_impl::ae_vector *p)
void ae_swap_vectors(ae_vector *vec1, ae_vector *vec2)
void allocate_own(ae_int_t rows, ae_int_t cols, alglib_impl::ae_datatype datatype)
bool fp_neq(double v1, double v2)
void ae_vector_clear(ae_vector *dst)
ae_int_t * getcontent()
ae_complex ae_c_add(ae_complex lhs, ae_complex rhs)
void ae_assert(ae_bool cond, const char *msg, ae_state *state)
void ae_smart_ptr_release(ae_smart_ptr *dst)
void ae_smart_ptr_init(ae_smart_ptr *dst, void **subscriber, ae_state *state)
Definition: ap.h:1184
const double machineepsilon
ae_bool _use_alloc_counter
ae_int_t ae_v_len(ae_int_t a, ae_int_t b)
const alglib::complex & operator()(ae_int_t i) const
integer_1d_array(const char *s)
complex_1d_array(const char *s)
ae_bool ae_shared_pool_is_initialized(void *_dst)
ae_int_t ae_sizeof(ae_datatype datatype)
real_1d_array(alglib_impl::ae_vector *p)
double ae_asin(double x, ae_state *state)
bool fp_less(double v1, double v2)
void ae_v_csub(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n)
alglib_impl::ae_complex * c_ptr()
ae_bool ae_c_eq(ae_complex lhs, ae_complex rhs)
void ae_v_cmulc(ae_complex *vdst, ae_int_t stride_dst, ae_int_t n, ae_complex alpha)
double ae_cosh(double x, ae_state *state)
void ae_vector_destroy(ae_vector *dst)
void ae_serializer_serialize_int(ae_serializer *serializer, ae_int_t v, ae_state *state)
ae_complex ae_c_mul(ae_complex lhs, ae_complex rhs)
ae_bool ae_fp_neq(double v1, double v2)
double ae_tanh(double x, ae_state *state)
const ae_bool * getcontent() const
ae_bool ae_isnan(double x, ae_state *state)
double & operator[](ae_int_t i)
void x_vector_clear(x_vector *dst)
void setcontent(ae_int_t irows, ae_int_t icols, const ae_int_t *pContent)
const alglib::complex operator-(const alglib::complex &lhs)
Definition: ap.h:347
void ae_v_muld(double *vdst, ae_int_t stride_dst, ae_int_t n, double alpha)
Definition: alglibinternal.h:31
ae_complex ae_c_mul_d(ae_complex lhs, double rhs)
int round(double x)
ae_bool ae_force_symmetric(ae_matrix *a)
void ae_serializer_unserialize_bool(ae_serializer *serializer, ae_bool *v, ae_state *state)
double ae_fabs(double x, ae_state *state)
ae_bool _ialglib_i_cmatrixrank1f(ae_int_t m, ae_int_t n, ae_matrix *a, ae_int_t ia, ae_int_t ja, ae_vector *u, ae_int_t uoffs, ae_vector *v, ae_int_t voffs)
void ae_v_add(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
void(* thread_exception_handler)(void *)
Definition: ap.h:406
void setnworkers(alglib::ae_int_t nworkers)
void setcontent(ae_int_t irows, ae_int_t icols, const bool *pContent)
double vdotproduct(const double *v0, ae_int_t stride0, const double *v1, ae_int_t stride1, ae_int_t n)
integer_2d_array(alglib_impl::ae_matrix *p)
ae_bool ae_isnan_stateless(double x, ae_int_t endianness)
void ae_serializer_clear(ae_serializer *serializer)
void ae_break(ae_state *state, ae_error_type error_type, const char *msg)
virtual ~ae_vector_wrapper()
void ae_init_lock(ae_lock *lock)
ae_bool ae_isinf(double x, ae_state *state)
void ae_v_csubc(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, ae_complex alpha)
void _ialglib_mcopyblock(ae_int_t m, ae_int_t n, const double *a, ae_int_t op, ae_int_t stride, double *b)
Definition: ap.h:1277
const double * getcontent() const
ae_matrix_wrapper()
real_2d_array(const char *s)
ae_bool ae_fp_less(double v1, double v2)
ae_int_t & operator()(ae_int_t i, ae_int_t j)
struct alglib_impl::ae_vector ae_vector
void ae_v_caddd(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha)
void _rcommstate_destroy(rcommstate *p)
alglib::complex * operator[](ae_int_t i)
const alglib_impl::ae_vector * c_ptr() const
ae_bool _ialglib_i_rmatrixrank1f(ae_int_t m, ae_int_t n, ae_matrix *a, ae_int_t ia, ae_int_t ja, ae_vector *u, ae_int_t uoffs, ae_vector *v, ae_int_t voffs)
void ae_state_clear(ae_state *state)
ae_int_t ae_iceil(double x, ae_state *state)
void ae_smart_ptr_clear(void *_dst)
const alglib::complex operator/(const alglib::complex &lhs, const alglib::complex &rhs)
std::string tostring(int dps) const
ae_complex ae_c_d_div(double lhs, ae_complex rhs)
ae_int_t vlen(ae_int_t n1, ae_int_t n2)
void ae_shared_pool_next_recycled(ae_shared_pool *pool, ae_smart_ptr *pptr, ae_state *state)
void _ialglib_vcopy(ae_int_t n, const double *a, ae_int_t stridea, double *b, ae_int_t strideb)
double maxreal(double m1, double m2)
Definition: ap.h:1207
Definition: ap.h:1353
ae_complex ae_complex_from_d(double v)
void ae_v_subd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha)
ae_bool ae_c_eq_d(ae_complex lhs, double rhs)
void ae_v_caddc(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, ae_complex alpha)
integer_2d_array(const char *s)
ae_bool ae_db_malloc(ae_dyn_block *block, ae_int_t size, ae_state *state, ae_bool make_automatic)
std::string tostring() const
ae_int_t ae_iabs(ae_int_t x, ae_state *state)
real_2d_array(const real_2d_array &rhs)
void ae_v_cadd(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n)
void ae_shared_pool_set_seed(ae_shared_pool *dst, void *seed_object, ae_int_t size_of_object, void(*init)(void *dst, ae_state *state), void(*init_copy)(void *dst, void *src, ae_state *state), void(*destroy)(void *ptr), ae_state *state)
void _ialglib_vcopy_complex(ae_int_t n, const ae_complex *a, ae_int_t stridea, double *b, ae_int_t strideb, const char *conj)
ae_bool x_force_hermitian(x_matrix *a)
void ae_db_attach(ae_dyn_block *block, ae_state *state)
void ae_v_addd(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n, double alpha)
ae_bool x_is_symmetric(x_matrix *a)
complex_2d_array(alglib_impl::ae_matrix *p)
void ae_free(void *p)
real_2d_array(alglib_impl::ae_matrix *p)
double ae_log(double x, ae_state *state)
Definition: ap.h:509
void setcontent(ae_int_t iLen, const alglib::complex *pContent)
void ae_v_cmuld(ae_complex *vdst, ae_int_t stride_dst, ae_int_t n, double alpha)
void ae_yield()
ae_int_t ae_round(double x, ae_state *state)
double ae_maxreal(double m1, double m2, ae_state *state)
void ae_serializer_serialize_double(ae_serializer *serializer, double v, ae_state *state)
Definition: ap.h:535
void _ialglib_vzero(ae_int_t n, double *p, ae_int_t stride)
ae_bool ae_is_hermitian(ae_matrix *a)
void ae_serializer_unserialize_int(ae_serializer *serializer, ae_int_t *v, ae_state *state)
void setcontent(ae_int_t iLen, const bool *pContent)
struct alglib_impl::ae_state ae_state
void ae_matrix_attach_to_x(ae_matrix *dst, x_matrix *src, ae_state *state)
ae_int_t ae_randominteger(ae_int_t maxv, ae_state *state)
struct alglib_impl::ae_shared_pool_entry ae_shared_pool_entry
const ae_int_t & operator()(ae_int_t i) const
Definition: ap.h:265
ae_bool ae_fp_greater(double v1, double v2)
void ae_matrix_init_from_x(ae_matrix *dst, x_matrix *src, ae_state *state)
Definition: ap.h:1131
double pi()
double ae_acos(double x, ae_state *state)
void vsub(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
ae_complex ae_c_add_d(ae_complex lhs, double rhs)
void ae_serializer_sstart_stream(ae_serializer *serializer, std::ostream *stream)
void * aligned_malloc(size_t size, size_t alignment)
Definition: ap.h:339
real_1d_array(const char *s)
double randomreal()
const bool operator!=(const alglib::complex &lhs, const alglib::complex &rhs)
ae_bool ae_isfinite(double x, ae_state *state)
void attach_to(alglib_impl::ae_matrix *ptr)
ae_bool _ialglib_i_rmatrixrighttrsmf(ae_int_t m, ae_int_t n, ae_matrix *a, ae_int_t i1, ae_int_t j1, ae_bool isupper, ae_bool isunit, ae_int_t optype, ae_matrix *x, ae_int_t i2, ae_int_t j2)
ae_int_t ae_ifloor(double x, ae_state *state)
void ae_serializer_sstart_str(ae_serializer *serializer, std::string *buf)
bool isempty() const
int sign(double x)
double ae_sinh(double x, ae_state *state)
void ae_state_init(ae_state *state)
void ae_shared_pool_first_recycled(ae_shared_pool *pool, ae_smart_ptr *pptr, ae_state *state)
void assign(const ae_vector_wrapper &rhs)
ae_int_t ae_cpuid()
ae_complex ae_c_neg(ae_complex lhs)
double ae_atan(double x, ae_state *state)
void ae_vector_init(ae_vector *dst, ae_int_t size, ae_datatype datatype, ae_state *state)
void ae_vector_init_from_x(ae_vector *dst, x_vector *src, ae_state *state)
void vmoveneg(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
void ae_v_sub(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
void _ialglib_vzero_complex(ae_int_t n, ae_complex *p, ae_int_t stride)
double ae_exp(double x, ae_state *state)
double beta(double a, double b, ae_state *_state)
Definition: ap.h:913
void _rcommstate_init_copy(rcommstate *dst, rcommstate *src, ae_state *_state)
bool fp_isinf(double x)
bool fp_isfinite(double x)
ae_int_t randominteger(ae_int_t maxv)
void _ialglib_mcopyunblock(ae_int_t m, ae_int_t n, const double *a, ae_int_t op, double *b, ae_int_t stride)
alglib::complex & operator[](ae_int_t i)
complex_2d_array(const char *s)
alglib::complex * getcontent()
double ae_pow(double x, double y, ae_state *state)
void ae_v_cmoveneg(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n)
std::string tostring(int dps) const
int iceil(double x)
struct alglib_impl::ae_matrix ae_matrix
bool fp_eq(double v1, double v2)
complex & operator/=(const double &v)
double & operator()(ae_int_t i, ae_int_t j)
ae_bool _ialglib_i_cmatrixgemmf(ae_int_t m, ae_int_t n, ae_int_t k, ae_complex alpha, ae_matrix *a, ae_int_t ia, ae_int_t ja, ae_int_t optypea, ae_matrix *b, ae_int_t ib, ae_int_t jb, ae_int_t optypeb, ae_complex beta, ae_matrix *c, ae_int_t ic, ae_int_t jc)
virtual ~complex_2d_array()
Definition: ap.h:235
Definition: ap.h:469
const ae_bool & operator()(ae_int_t i) const
ae_int_t * operator[](ae_int_t i)
ae_complex ae_c_d_sub(double lhs, ae_complex rhs)
void ae_shared_pool_init(void *_dst, ae_state *state)
real_1d_array()
ae_bool _ialglib_i_rmatrixlefttrsmf(ae_int_t m, ae_int_t n, ae_matrix *a, ae_int_t i1, ae_int_t j1, ae_bool isupper, ae_bool isunit, ae_int_t optype, ae_matrix *x, ae_int_t i2, ae_int_t j2)
void ae_release_lock(ae_lock *lock)
double ae_sqrt(double x, ae_state *state)
const ae_matrix_wrapper & operator=(const ae_matrix_wrapper &rhs)
Definition: ap.h:198
void ae_shared_pool_retrieve(ae_shared_pool *pool, ae_smart_ptr *pptr, ae_state *state)
ae_bool _ialglib_i_rmatrixsyrkf(ae_int_t n, ae_int_t k, double alpha, ae_matrix *a, ae_int_t ia, ae_int_t ja, ae_int_t optypea, double beta, ae_matrix *c, ae_int_t ic, ae_int_t jc, ae_bool isupper)
const double minrealnumber
boolean_1d_array(const char *s)
void ae_v_cmoved(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha)
void ae_touch_ptr(void *p)
ae_bool ae_isinf_stateless(double x, ae_int_t endianness)
double sqr(double x)
const alglib::complex & operator[](ae_int_t i) const
void assign(const ae_matrix_wrapper &rhs)
boolean_2d_array()
ae_int_t ae_minint(ae_int_t m1, ae_int_t m2, ae_state *state)
ae_int64_t _alloc_counter
void setcontent(ae_int_t irows, ae_int_t icols, const double *pContent)
ae_int_t ae_maxint(ae_int_t m1, ae_int_t m2, ae_state *state)
ae_bool ae_db_realloc(ae_dyn_block *block, ae_int_t size, ae_state *state)
ae_bool ae_force_hermitian(ae_matrix *a)
void ae_serializer_alloc_start(ae_serializer *serializer)
int ifloor(double x)
ae_bool _ialglib_i_cmatrixherkf(ae_int_t n, ae_int_t k, double alpha, ae_matrix *a, ae_int_t ia, ae_int_t ja, ae_int_t optypea, double beta, ae_matrix *c, ae_int_t ic, ae_int_t jc, ae_bool isupper)
void ae_serializer_unserialize_double(ae_serializer *serializer, double *v, ae_state *state)
void allocate_own(ae_int_t size, alglib_impl::ae_datatype datatype)
void ae_shared_pool_destroy(void *dst)
void ae_v_cmovec(ae_complex *vdst, ae_int_t stride_dst, const ae_complex *vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, ae_complex alpha)
const alglib_impl::ae_matrix * c_ptr() const
complex_1d_array(alglib_impl::ae_vector *p)
ae_bool _ialglib_i_cmatrixrighttrsmf(ae_int_t m, ae_int_t n, ae_matrix *a, ae_int_t i1, ae_int_t j1, ae_bool isupper, ae_bool isunit, ae_int_t optype, ae_matrix *x, ae_int_t i2, ae_int_t j2)
const ae_int_t * getcontent() const
void vmul(double *vdst, ae_int_t stride_dst, ae_int_t n, double alpha)
const alglib::complex * getcontent() const
std::string tostring(int dps) const
real_1d_array(const real_1d_array &rhs)
boolean_2d_array(const char *s)
void ae_db_free(ae_dyn_block *block)
void vmove(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
ae_complex ae_complex_from_i(ae_int_t v)
void ae_x_attach_to_matrix(x_matrix *dst, ae_matrix *src)
void ae_serializer_ustart_stream(ae_serializer *serializer, const std::istream *stream)
Definition: ap.h:302
void ae_serializer_init(ae_serializer *serializer)
double ae_minreal(double m1, double m2, ae_state *state)
virtual ~real_2d_array()
void ae_shared_pool_clear(void *dst)
std::string tostring() const
char(* ae_stream_reader)(ae_int_t aux, ae_int_t cnt, char *p_buf)
Definition: ap.h:447
void ae_matrix_init(ae_matrix *dst, ae_int_t rows, ae_int_t cols, ae_datatype datatype, ae_state *state)
void create(const ae_vector_wrapper &rhs)
ae_bool & operator[](ae_int_t i)
virtual ~integer_1d_array()
bool fp_greater_eq(double v1, double v2)
complex(const double &_x)
void ae_vector_attach_to_x(ae_vector *dst, x_vector *src, ae_state *state)
Definition: ap.h:1231
bool fp_greater(double v1, double v2)
void ae_frame_leave(ae_state *state)
const boolean_1d_array & operator=(const boolean_1d_array &rhs)
ae_int_t ae_sign(double x, ae_state *state)
const ae_bool * operator[](ae_int_t i) const
void ae_matrix_clear(ae_matrix *dst)
virtual ~boolean_2d_array()
Definition: alglibinternal.h:158
ae_complex ae_c_conj(ae_complex lhs, ae_state *state)
ae_bool _ialglib_i_rmatrixgemmf(ae_int_t m, ae_int_t n, ae_int_t k, double alpha, ae_matrix *a, ae_int_t ia, ae_int_t ja, ae_int_t optypea, ae_matrix *b, ae_int_t ib, ae_int_t jb, ae_int_t optypeb, double beta, ae_matrix *c, ae_int_t ic, ae_int_t jc)
const double fp_posinf
virtual ~complex_1d_array()
Definition: ap.h:1373
ae_bool * operator[](ae_int_t i)
ae_matrix_wrapper(const ae_matrix_wrapper &rhs)
void ae_smart_ptr_destroy(void *_dst)
complex & operator*=(const double &v)
void ae_serializer_stop(ae_serializer *serializer, ae_state *state)
void ae_serializer_alloc_entry(ae_serializer *serializer)
void ae_shared_pool_reset(ae_shared_pool *pool, ae_state *state)
ae_int_t cols() const
void ae_serializer_ustart_str(ae_serializer *serializer, const std::string *buf)
union alglib_impl::ae_matrix::@5 ptr
real_2d_array()
void _ialglib_mcopyunblock_complex(ae_int_t m, ae_int_t n, const double *a, ae_int_t op, ae_complex *b, ae_int_t stride)
boolean_1d_array(alglib_impl::ae_vector *p)
void * ae_align(void *ptr, size_t alignment)
alglib_impl::ae_matrix * c_ptr()
void create(const ae_matrix_wrapper &rhs)
ae_bool _ialglib_i_cmatrixlefttrsmf(ae_int_t m, ae_int_t n, ae_matrix *a, ae_int_t i1, ae_int_t j1, ae_bool isupper, ae_bool isunit, ae_int_t optype, ae_matrix *x, ae_int_t i2, ae_int_t j2)
void setlength(ae_int_t rows, ae_int_t cols)
void _rcommstate_init(rcommstate *p, ae_state *_state)
void ae_v_moveneg(double *vdst, ae_int_t stride_dst, const double *vsrc, ae_int_t stride_src, ae_int_t n)
ae_bool x_is_hermitian(x_matrix *a)
char(* ae_stream_writer)(const char *p_string, ae_int_t aux)
Definition: ap.h:446
const integer_1d_array & operator=(const integer_1d_array &rhs)