Skip to content

Commit

Permalink
refs #5633 #5634. Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jul 23, 2012
1 parent e708079 commit 3b1821e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Code/Mantid/Framework/CurveFitting/src/ProductLinearExp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ namespace Mantid
{
}

/**
Calculate the 1D function derivatives.
@param out : Jacobian to set derivates on.
@param xValues : Domain x-values.
@param nData : Number of elements.
*/
void ProductLinearExp::functionDeriv1D(API::Jacobian* out, const double* xValues, const size_t nData)
{
const double A0 = getParameter("A0");
Expand All @@ -52,6 +58,12 @@ namespace Mantid
}
}

/**
Evaluate the 1D function
@param out : Out values.
@param xValues : Domain x-values.
@param nData : Number of elements.
*/
void ProductLinearExp::function1D(double* out, const double* xValues, const size_t nData) const
{
const double A0 = getParameter("A0");
Expand Down
12 changes: 12 additions & 0 deletions Code/Mantid/Framework/CurveFitting/src/ProductQuadraticExp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ namespace Mantid
{
}

/**
Calculate the 1D function derivatives.
@param out : Jacobian to set derivates on.
@param xValues : Domain x-values.
@param nData : Number of elements.
*/
void ProductQuadraticExp::functionDeriv1D(API::Jacobian* out, const double* xValues, const size_t nData)
{
const double A0 = getParameter("A0");
Expand All @@ -45,6 +51,12 @@ namespace Mantid
}
}

/**
Evaluate the 1D function
@param out : Out values.
@param xValues : Domain x-values.
@param nData : Number of elements.
*/
void ProductQuadraticExp::function1D(double* out, const double* xValues, const size_t nData) const
{
const double A0 = getParameter("A0");
Expand Down

0 comments on commit 3b1821e

Please sign in to comment.