# Function Reference

## RECS functions

`recsAccuracy`- Evaluate accuracy of a RECS solution`recsCheck`- Check analytical derivatives against numerical ones`recsConvert`- Convert the interpolation structure of a model to another form`recsDecisionRules`- Plot a model decision rules`recsdemos`- Run all RECS demonstration files`recsFirstGuess`- Find a first guess using the perfect foresight solution or the first-order approximation of the model`recsinterpinit`- Prepare a RECS interpolation structure`recsmodel`- Prepare a RECS model object`recsSimul`- Simulate a model`recsSolveDeterministicPb`- Solve a perfect foresight problem`recsSolveREE`- Find the rational expectations equilibrium (REE) of a model`recsSolveREEFiniteHorizon`- Solve a finite horizon rational expectations problem`recsSS`- Solve for the deterministic steady state of a model

## Nonlinear equations and MCP solvers that can be used with RECS

`fsolve`- Solve system of nonlinear equations (from MATLAB Optimization Toolbox)`lmmcp`- Solve mixed complementarity problems`ncpsolve`- Solve mixed complementarity problems (from CompEcon)`nsoli`- Solve system of nonlinear equations by a Jacobian-free Newton-Krylov solver`recspathmcp`- Solve mixed complementarity problems`SA`- Solve a system of equations by successive approximation`SCP`- Solve a problem through simple continuation method (homotopy)