vendor/scs/include/linalg.h in scs-0.2.3 vs vendor/scs/include/linalg.h in scs-0.3.0
- old
+ new
@@ -3,18 +3,16 @@
#ifdef __cplusplus
extern "C" {
#endif
-#include <math.h>
#include "scs.h"
+#include <math.h>
-void SCS(set_as_scaled_array)(scs_float *x, const scs_float *a,
- const scs_float b, scs_int len);
void SCS(scale_array)(scs_float *a, const scs_float b, scs_int len);
scs_float SCS(dot)(const scs_float *x, const scs_float *y, scs_int len);
scs_float SCS(norm_sq)(const scs_float *v, scs_int len);
-scs_float SCS(norm)(const scs_float *v, scs_int len);
+scs_float SCS(norm_2)(const scs_float *v, scs_int len);
scs_float SCS(norm_inf)(const scs_float *a, scs_int l);
void SCS(add_scaled_array)(scs_float *a, const scs_float *b, scs_int n,
const scs_float sc);
scs_float SCS(norm_diff)(const scs_float *a, const scs_float *b, scs_int l);
scs_float SCS(norm_inf_diff)(const scs_float *a, const scs_float *b, scs_int l);