Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

newton Class Reference

#include <newton.h>

Inheritance diagram for newton::

balancer mixer::balancer List of all members.

Public Methods

 newton ()
virtual void calc ()=0
void calc (const real_vector &x)
void solve ()
void solve (const real_vector &x)
const real_vectorget_x ()
const real_vectorget_fval ()
const real_tableget_Jacobian ()
int no_solution ()
virtual ~newton ()

Public Attributes

int max_iter
double f_tol
double F_tol
double dx_tol
double rate_factor

Protected Attributes

real_vector xlast
real_vector fval
real_matrix Jacobian
double maxstep
int solution_flag

Constructor & Destructor Documentation

newton::newton ( )
 

Definition at line 67 of file newton.cc.

newton::~newton ( ) [inline, virtual]
 

Definition at line 155 of file newton.h.


Member Function Documentation

void newton::calc ( const real_vector & x ) [inline]
 

Definition at line 135 of file newton.h.

void newton::calc ( ) [pure virtual]
 

Reimplemented in mixer::balancer, and balancer.

Referenced by calc(), and solve().

const real_table & newton::get_Jacobian ( ) [inline]
 

Definition at line 147 of file newton.h.

const real_vector & newton::get_fval ( ) [inline]
 

Definition at line 146 of file newton.h.

const real_vector & newton::get_x ( ) [inline]
 

Definition at line 145 of file newton.h.

int newton::no_solution ( ) [inline]
 

Definition at line 152 of file newton.h.

Referenced by mixer::balancer::operator()().

void newton::solve ( const real_vector & x ) [inline]
 

Definition at line 141 of file newton.h.

void newton::solve ( )
 

Definition at line 80 of file newton.cc.

Referenced by mixer::balancer::i_state(), mixer::balancer::operator()(), and solve().


Member Data Documentation

double newton::F_tol
 

Definition at line 122 of file newton.h.

real_matrix newton::Jacobian [protected]
 

Definition at line 110 of file newton.h.

double newton::dx_tol
 

Definition at line 123 of file newton.h.

double newton::f_tol
 

Definition at line 121 of file newton.h.

real_vector newton::fval [protected]
 

Definition at line 109 of file newton.h.

int newton::max_iter
 

Definition at line 120 of file newton.h.

double newton::maxstep [protected]
 

Definition at line 111 of file newton.h.

double newton::rate_factor
 

Definition at line 124 of file newton.h.

int newton::solution_flag [protected]
 

Definition at line 112 of file newton.h.

real_vector newton::xlast [protected]
 

Definition at line 108 of file newton.h.


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

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7