Sha256: 500dc017f208e2c4f890a446a9dffec894cd31af676601e0fe8a4db4d6834629

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

#ifndef PRIV_H_GUARD
#define PRIV_H_GUARD

#ifdef __cplusplus
extern "C" {
#endif

#include "csparse.h"
#include "glbopts.h"
#include "linalg.h"
#include "linsys.h"
#include "scs_matrix.h"
#include "util.h" /* timer */
#include <string.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;
  const scs_float *diag_r;
};

#ifdef __cplusplus
}
#endif
#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scs-0.5.0 vendor/scs/linsys/cpu/indirect/private.h
scs-0.4.3 vendor/scs/linsys/cpu/indirect/private.h
scs-0.4.2 vendor/scs/linsys/cpu/indirect/private.h
scs-0.4.1 vendor/scs/linsys/cpu/indirect/private.h