12 #ifndef MATH_FUNCTIONS_H_
13 #define MATH_FUNCTIONS_H_
void vector_add(const real_t *v1, const real_t *v2, real_t *res, const uint32_t length)
real_t abs_2(const real_t a)
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)
uint32_t vector_is_equal(const real_t *v1, const real_t *v2, const uint32_t length)
void vector_elements_to_zero(real_t *v, const uint32_t length)
void vector_sub(const real_t *v1, const real_t *v2, real_t *res, const uint32_t length)
void vector_max_with_zero(real_t *v, const uint32_t length)
void mtx_transpose(const real_t *mtx, real_t *mtx_t, const uint32_t rows, const uint32_t cols)
real_t vector_norm_2(real_t *v, 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)
real_t vector_mul(const real_t *v1, const real_t *v2, const uint32_t length)