Sha256: bb6e9ce8061f77eb6f863111ebd7dbe406ab44d7c0fdb9a627b5b714bc8c037e

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

#ifndef PRIV_H_GUARD
#define PRIV_H_GUARD

#ifdef __cplusplus
extern "C" {
#endif

#include "glbopts.h"
#include "linalg.h"
#include "scs.h"
#include "scs_matrix.h"
#include <math.h>

struct SCS_LIN_SYS_WORK {
  scs_int n, m; /* linear system dimensions */
  scs_float *p; /* cg iterate  */
  scs_float *r; /* cg residual */
  scs_float *Gp;
  scs_float *tmp;
  const ScsMatrix *A; /* does *not* own this memory */
  const ScsMatrix *P; /* does *not* own this memory */
  ScsMatrix *At;      /* does own this memory */
  /* preconditioning */
  scs_float *z;
  scs_float *M;
  /* reporting */
  scs_int tot_cg_its;
  scs_float *rho_y_vec;
  scs_float rho_x;
};

#ifdef __cplusplus
}
#endif
#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scs-0.3.1 vendor/scs/linsys/cpu/indirect/private.h
scs-0.3.0 vendor/scs/linsys/cpu/indirect/private.h