Example to show how to use the SpM drivers to read a sparse matrix form file, here with the Laplacian generator driver.
- Copyright
- 2020-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
- Version
- 1.2.4
- Author
- Mathieu Faverge
-
Tony Delarue
- Date
- 2024-05-29
/
int main( int argc, char **argv )
{
double alpha = 2.;
double epsilon, norm;
void *x, *b;
int rc = 0;
int spm_int_t
The main integer datatype used in spm arrays.
The sparse matrix data structure.
Definition in file example_drivers.c.