ConstrainedOptPack_print_vector_change_stats.hpp File Reference

#include "ConstrainedOptPack_Types.hpp"

Include dependency graph for ConstrainedOptPack_print_vector_change_stats.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ConstrainedOptPack

Functions

void print_vector_change_stats (const DVectorSlice &x, const char x_name[], const DVectorSlice &d, const char d_name[], std::ostream &out)
 Compute statistics for change in a vector and output to a stream.


Function Documentation

void ConstrainedOptPack::print_vector_change_stats const DVectorSlice x,
const char  x_name[],
const DVectorSlice d,
const char  d_name[],
std::ostream &  out
 

Compute statistics for change in a vector and output to a stream.

Calls the function vector_change_stats(x,d,max_term,max_k,min_term,min_k ,av_term) then produces the following output to the given stream.

max(|d(i)|/(1+|x(i)|)) => |d(max_k)|/(1+|x(max_k)|) = max_term \ min(|d(i)|/(1+|x(i)|)) => |d(min_k)|/(1+|x(min_k)|) = min_term \ average(|d(i)|/(1+|x(i)|)) = av_term \

Note that above the names x and d are replaced with their input names x_name# and d_name# and max_term, max_k etc. are replaced with their computed values.

Definition at line 32 of file ConstrainedOptPack_print_vector_change_stats.cpp.


Generated on Thu Sep 18 12:35:36 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1