SuperLU: EXAMPLE/fgmr.c File Reference

SuperLU 5.2.0

- Main Page
- Data Structures
- Files

- File List
- Globals

Macros | Functions
fgmr.c File Reference
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`
`#include <math.h>`
`#include "slu_ddefs.h"`
Include dependency graph for fgmr.c:

## Macros
#define | epsmac 1.0e-16

## Functions
double | ddot_ (int *, double[], int *, double[], int *)
double | dnrm2_ (int *, double[], int *)
void | daxpy_ (int *, double *, double[], int *, double[], int *)
double | dcopy_ (int *, double[], int *, double[], int *)
int | fgmr (int n, void(*matvec)(double, double[], double, double[]), void(*psolve)(int, double[], double[]), double *rhs, double *sol, double tol, int im, int *itmax, FILE *fits)

## Detailed Description

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

## Macro Definition Documentation

#define epsmac 1.0e-16

## Function Documentation

void daxpy_ | ( | int * | ,
|  | double * | ,
|  | double | [],
|  | int * | ,
|  | double | [],
|  | int * |
| ) |  |

double dcopy_ | ( | int * | ,
|  | double | [],
|  | int * | ,
|  | double | [],
|  | int * |
| ) |  |

double ddot_ | ( | int * | ,
|  | double | [],
|  | int * | ,
|  | double | [],
|  | int * |
| ) |  |

double dnrm2_ | ( | int * | ,
|  | double | [],
|  | int * |
| ) |  |

int fgmr | ( | int | n,
|  | void(*)(double, double[], double, double[]) | matvec,
|  | void(*)(int, double[], double[]) | psolve,
|  | double * | rhs,
|  | double * | sol,
|  | double | tol,
|  | int | im,
|  | int * | itmax,
|  | FILE * | fits
| ) |  |

Here is the call graph for this function: