Sha256: cbedbb7279d2cae5d6d0cdc56a5699e1ba132d4720364b841001e41ee4617510

Contents?: true

Size: 748 Bytes

Versions: 2

Compression:

Stored size: 748 Bytes

Contents

#ifndef LINALG_H_GUARD
#define LINALG_H_GUARD

#ifdef __cplusplus
extern "C" {
#endif

#include "scs.h"
#include <math.h>

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_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);

#ifdef __cplusplus
}
#endif
#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scs-0.3.1 vendor/scs/include/linalg.h
scs-0.3.0 vendor/scs/include/linalg.h