#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <float.h>
#include <string.h>
#include <math.h>
#include "gslib.h"
Go to the source code of this file.
|
void | sparse_cholesky_solve (double *x, const struct sparse_cholesky *fac, double *b) |
|
void | sparse_cholesky_factor (uint n, const uint *Arp, const uint *Aj, const double *A, struct sparse_cholesky *out, buffer *buf) |
|
void | sparse_cholesky_free (struct sparse_cholesky *fac) |
|
struct xxt * | crs_setup (uint n, const ulong *id, uint nz, const uint *Ai, const uint *Aj, const double *A, uint null_space, const struct comm *comm) |
|
void | crs_solve (double *x, struct xxt *data, const double *b) |
|
void | crs_stats (struct xxt *data) |
|
void | crs_free (struct xxt *data) |
|
◆ BITS
#define BITS |
( |
|
i | ) |
((UINT_BITS+(1<<(i))-1)>>(i)) |
◆ CHECK
◆ crs_free
◆ crs_setup
◆ crs_solve
◆ crs_stats
◆ MASK
#define MASK |
( |
|
i | ) |
((((uint)1<<BITS(i)) - 1) << BITS(i)) |
◆ UINT_BITS
#define UINT_BITS (sizeof(uint)*CHAR_BIT) |
◆ crs_free()
void crs_free |
( |
struct xxt * |
data | ) |
|
Definition at line 986 of file crs_xxt.c.
References csr_mat::A, xxt::A_sl, csr_mat::Arp, xxt::comm, xxt::fac_A_ll, xxt::null_space, xxt::perm_u2c, xxt::pother, xxt::req, xxt::sep_size, xxt::share_weight, sparse_cholesky_free(), xxt::vl, xxt::X, and xxt::Xp.
◆ crs_setup()
struct xxt* crs_setup |
( |
uint |
n, |
|
|
const ulong * |
id, |
|
|
uint |
nz, |
|
|
const uint * |
Ai, |
|
|
const uint * |
Aj, |
|
|
const double * |
A, |
|
|
uint |
null_space, |
|
|
const struct comm * |
comm |
|
) |
| |
◆ crs_solve()
void crs_solve |
( |
double * |
x, |
|
|
struct xxt * |
data, |
|
|
const double * |
b |
|
) |
| |
Definition at line 921 of file crs_xxt.c.
References xxt::cn, xxt::fac_A_ll, xxt::ln, xxt::null_space, xxt::perm_u2c, xxt::sn, sparse_cholesky_solve(), xxt::un, xxt::vc, xxt::vl, xxt::vx, and xxt::xn.
◆ crs_stats()
void crs_stats |
( |
struct xxt * |
data | ) |
|
◆ sparse_cholesky_factor()
void sparse_cholesky_factor |
( |
uint |
n, |
|
|
const uint * |
Arp, |
|
|
const uint * |
Aj, |
|
|
const double * |
A, |
|
|
struct sparse_cholesky * |
out, |
|
|
buffer * |
buf |
|
) |
| |
◆ sparse_cholesky_free()
◆ sparse_cholesky_solve()
void sparse_cholesky_solve |
( |
double * |
x, |
|
|
const struct sparse_cholesky * |
fac, |
|
|
double * |
b |
|
) |
| |