Object-oriented Scientific Computing Library: Version 0.909
Protected Member Functions
mroot_hybrids_base Class Reference

Base functionality for the GSL hybrids solver used in gsl_mroot_hybrids. More...

#include <gsl_mroot_hybrids_b.h>

Inheritance diagram for mroot_hybrids_base:
gsl_mroot_hybrids< func_t, vec_t, alloc_vec_t, alloc_t, mat_t, alloc_mat_t, mat_alloc_t, jfunc_t >

Detailed Description

This is a trivial recasting of the functions that were in file scope in the GSL version of the hybrids solver.

Definition at line 43 of file gsl_mroot_hybrids_b.h.

Protected Member Functions

double enorm (const gsl_vector *f)
 Compute the Euclidean norm of f.
double scaled_enorm (const gsl_vector *d, const gsl_vector *f)
 Compute the norm of the vector $ \vec{v} $ defined by $ v_i = d_i f_i $.
double enorm_sum (const gsl_vector *a, const gsl_vector *b)
 Compute the norm of the vector $ \vec{v} $ defined by $ v_i = a_i + b_i $.
double compute_actual_reduction (double fnorm, double fnorm1)
 Compute the actual reduction.
double compute_predicted_reduction (double fnorm, double fnorm1)
 Compute the predicted reduction phi1p=|Q^T f + R dx|.
void compute_qtf (const gsl_matrix *q, const gsl_vector *f, gsl_vector *qtf)
 Compute $ Q^{T} f $.
int newton_direction (const gsl_matrix *r, const gsl_vector *qtf, gsl_vector *p)
 Compute the Gauss-Newton direction.
void gradient_direction (const gsl_matrix *r, const gsl_vector *qtf, const gsl_vector *diag, gsl_vector *g)
 Compute the gradient direction.
void minimum_step (double gnorm, const gsl_vector *diag, gsl_vector *g)
 Compute the point at which the gradient is minimized.

Member Function Documentation

double mroot_hybrids_base::enorm ( const gsl_vector *  f) [protected]
Idea for Future:
Replace this with dnrm2 from cblas_base.h
void mroot_hybrids_base::compute_qtf ( const gsl_matrix q,
const gsl_vector *  f,
gsl_vector *  qtf 
) [protected]
Idea for Future:
This is just right-multiplication, so we could use the O2scl cblas routines instead

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.