Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ solve() [2/2]

template<typename F , typename fp_jac_type >
template<typename T1 >
Eigen::Matrix< stan::math::var, -1, 1 > stan::math::FixedPointSolver< KinsolFixedPointEnv< F >, fp_jac_type >::solve ( const Eigen::Matrix< T1, -1, 1 > &  x,
const Eigen::Matrix< stan::math::var, -1, 1 > &  y,
KinsolFixedPointEnv< F > &  env,
double  f_tol,
int  max_num_steps 
)
inline

Solve FP problem and calculate jacobian.

Template Parameters
T1type of init point of iterations
Parameters
xinitial point and final solution.
yRHS functor parameters
envKINSOL solution environment
f_tolFunction tolerance
max_num_stepsmax nb. of iterations.

Definition at line 293 of file algebra_solver_fp.hpp.