GradFunc.cpp File Reference

#include "GradFunc.h"
#include <gsl/gsl_math.h>
#include <iostream>

Go to the source code of this file.

Functions

gplib::rvec CalcGradient (GeneralObjective &Objective, const gplib::rvec &Model)
 Calculate the Gradient dO(m)/dm of the objective function Objective at the point given by Model, return as a real vector.
gplib::rmat CalcPartialDerivs (GeneralObjective &Objective, const gplib::rvec &Model, const gplib::rvec varfactor)
 Calculate the matrix of partial derivatives (or sensitivity matrix) dD/dm, for objective function Objective at point Model.


Function Documentation

gplib::rvec CalcGradient ( GeneralObjective Objective,
const gplib::rvec &  Model 
)

Calculate the Gradient dO(m)/dm of the objective function Objective at the point given by Model, return as a real vector.

Calculate the model gradient vector df(m)/dm.

Definition at line 6 of file GradFunc.cpp.

References GeneralObjective::CalcPerformance().

gplib::rmat CalcPartialDerivs ( GeneralObjective Objective,
const gplib::rvec &  Model,
const gplib::rvec  varfactor 
)

Calculate the matrix of partial derivatives (or sensitivity matrix) dD/dm, for objective function Objective at point Model.

Calculate the model sensitivity matrix.

Definition at line 41 of file GradFunc.cpp.

References GeneralObjective::CalcPerformance(), and GeneralObjective::GetSynthData().


Generated on Fri Jul 4 15:30:21 2008 for GPLIB++ by  doxygen 1.5.5