Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::CurveFitting::ParameterEstimator::LinearFunction Class Reference

A linear function. More...

Public Member Functions

 LinearFunction (double a0, double a1)
 
double operator() (double x) const
 

Private Attributes

double m_a0
 
double m_a1
 

Detailed Description

A linear function.

Definition at line 236 of file ParameterEstimator.cpp.

Constructor & Destructor Documentation

◆ LinearFunction()

Mantid::CurveFitting::ParameterEstimator::LinearFunction::LinearFunction ( double  a0,
double  a1 
)
inline

Definition at line 238 of file ParameterEstimator.cpp.

Member Function Documentation

◆ operator()()

double Mantid::CurveFitting::ParameterEstimator::LinearFunction::operator() ( double  x) const
inline

Definition at line 239 of file ParameterEstimator.cpp.

References m_a0, m_a1, and Mantid::Geometry::x.

Member Data Documentation

◆ m_a0

double Mantid::CurveFitting::ParameterEstimator::LinearFunction::m_a0
private

Definition at line 242 of file ParameterEstimator.cpp.

Referenced by operator()().

◆ m_a1

double Mantid::CurveFitting::ParameterEstimator::LinearFunction::m_a1
private

Definition at line 243 of file ParameterEstimator.cpp.

Referenced by operator()().


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