optimizerCommon.h File Reference

Header file declaring some utility functions for the Optimizer classes. More...

#include <cmath>
#include <dlrNumeric/array2D.h>
#include <dlrCommon/exception.h>

Include dependency graph for optimizerCommon.h:

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

Go to the source code of this file.

Namespaces

namespace  dlr
namespace  dlr::optimization

Functions

template<class ArgumentType>
double dlr::optimization::contextSensitiveScale (const ArgumentType &vector, const ArgumentType &point)
 This function computes a scale factor for convergence tests.
template<class ArgumentType>
void dlr::optimization::copyArgumentType (const ArgumentType &source, ArgumentType &target)
 This function copies an argument_type array in such a way that the result is a deep copy of the original, even if argument_type has shallow copy semantics.
template<class ArgumentType>
double dlr::optimization::dotArgumentType (const ArgumentType &argument0, const ArgumentType &argument1)
 This function computes the dot product of two ArgumentType instances.
template<class ArgumentType>
void dlr::optimization::matrixMultiplyArgumentType (const Array2D< double > &matrix0, const ArgumentType &vector0, ArgumentType &result)
 This function computes matrix product of an Array2D<double> instance and an ArgumentType instance.


Detailed Description

Header file declaring some utility functions for the Optimizer classes.

Copyright (C) 2003-2007 David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.

Revision
881
Date
2007-05-04 00:37:20 -0400 (Fri, 04 May 2007)

Definition in file optimizerCommon.h.


Generated on Mon Jul 9 20:34:12 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2