A step-by-step example with a personal ordering (identity).
- Copyright
- 2015-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
- Version
- 6.4.0
- Author
- Pierre Ramet
-
Mathieu Faverge
-
Tony Delarue
-
Alycia Lisito
- Date
- 2024-07-05
/
#include <spm.h>
int main (int argc, char **argv)
{
double dparm[DPARM_SIZE];
spm_driver_t driver;
char *filename = NULL;
spmatrix_t *spm, spm2;
void *x, *b, *x0 = NULL;
size_t size;
int scatter = 0;
int check = 1;
int nrhs = 1;
int rc = 0;
spmScalMat( 1./normA, spm, nrhs, b, spm->nexp );
memcpy( b, x, size );
}
BEGIN_C_DECLS typedef int pastix_int_t
Main PaStiX data structure.
Definition in file personal.c.