Sha256: 16cc22c64149713309a1673ae0003c466126d8cd3cd555b0c84718f127059607

Contents?: true

Size: 873 Bytes

Versions: 4

Compression:

Stored size: 873 Bytes

Contents

#ifndef LINALG_H_GUARD
#define LINALG_H_GUARD

#ifdef __cplusplus
extern "C" {
#endif

#include <math.h>
#include "scs.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_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);

#ifdef __cplusplus
}
#endif
#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scs-0.2.3 vendor/scs/include/linalg.h
scs-0.2.2 vendor/scs/include/linalg.h
scs-0.2.1 vendor/scs/include/linalg.h
scs-0.2.0 vendor/scs/include/linalg.h