33 while(f_diff > s->
eps)
73 f_diff =
abs_2(fnew - f);
void vector_add(const real_t *v1, const real_t *v2, real_t *res, const uint32_t length)
void free_pointer(real_t *pointer)
real_t abs_2(const real_t a)
uint32_t GDM(struct Struct_GDM *s)
real_t obj(const real_t *z, const real_t *H, const real_t *c, real_t *temp)
void vector_min(const real_t *v1, const real_t *v2, real_t *res, const uint32_t length)
void vector_sub(const real_t *v1, const real_t *v2, real_t *res, const uint32_t length)
void vector_copy(const real_t *v1, real_t *v2, const uint32_t length)
void vector_scalar_mul(const real_t *v1, const real_t scalar, real_t *res, const uint32_t length)
void mtx_vec_mul(const real_t *mtx, const real_t *v, real_t *res, const uint32_t rows, const uint32_t cols)
void vector_max(const real_t *v1, const real_t *v2, real_t *res, const uint32_t length)
void clean_up_GDM_C(struct Struct_GDM *s)