o2scl_hybrid_state_t Class Template Reference

State class for gsl_mroot_hybrids. More...

#include <gsl_mroot_hybrids.h>


Detailed Description

template<class vec_t = ovector_base, class alloc_vec_t = ovector, class alloc_t = ovector_alloc, class mat_t = omatrix_base, class alloc_mat_t = omatrix, class mat_alloc_t = omatrix_alloc>
class o2scl_hybrid_state_t< vec_t, alloc_vec_t, alloc_t, mat_t, alloc_mat_t, mat_alloc_t >

State class for gsl_mroot_hybrids.

Things to document:
Improve the documentation in this class, and possibly rename it.

Definition at line 67 of file gsl_mroot_hybrids.h.


Public Member Functions

int allocate (size_t n)
 Allocate memory for a solver with n variables.
int free ()
 Free allocated memory.

Data Fields

alloc_t va
 Vector allocator.
mat_alloc_t ma
 Matrix allocator.
size_t iter
 Number of iterations.
size_t ncfail
 Desc.
size_t ncsuc
 Desc.
size_t nslow1
 Desc.
size_t nslow2
 Desc.
double fnorm
 Desc.
double delta
 Desc.
alloc_mat_t J
 Jacobian.
gsl_matrix * q
 Q matrix from QR decomposition.
gsl_matrix * r
 R matrix from QR decomposition.
gsl_vector * tau
 tau vector from QR decomposition
gsl_vector * diag
 Desc.
gsl_vector * qtf
 Desc.
gsl_vector * newton
 Desc.
gsl_vector * gradient
 Desc.
gsl_vector * df
 Desc.
gsl_vector * qtdf
 Desc.
gsl_vector * rdx
 Desc.
gsl_vector * w
 Desc.
gsl_vector * v
 Desc.
size_t dim2
 Number of variables.

Member Function Documentation

int allocate ( size_t  n  )  [inline]

Allocate memory for a solver with n variables.

Idea for future:
Convert to using gsl_alloc_arrays()

Definition at line 79 of file gsl_mroot_hybrids.h.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page