# lis_solver_get_rhistory man page

lis_solver_get_rhistory — get the residual history of the solver

## Synopsis

`#include "lis.h"`

**LIS_INT lis_solver_get_rhistory**(**LIS_SOLVER solver**, **LIS_VECTOR v**);

## Description

Get the residual history of the solver.

## Input

**solver**- The solver

## Output

**v**- The vector

## Exit Status

The following exit values are returned:

- 0
- The process is normally terminated
- unspecified
- An error occurred

## Note

The vector *v* must be created in advance with the function **lis_vector_create**. When the vector *v* is shorter than the residual history, it stores the residual history in order to the vector *v*.

## See Also

## Info

28 Aug 2014 Man Page Lis Library Functions