Mantid
|
#include <LogarithmScale.h>
Public Member Functions | |
LogarithmScale () | |
const std::string | name () const override |
void | setBase (const double base) |
void | transform (std::vector< double > &gd) override |
The scaling transformation. Define in derived classes. More... | |
Public Member Functions inherited from Mantid::API::ITransformScale | |
ITransformScale ()=default | |
virtual const std::string | name () const |
virtual void | transform (std::vector< double > &gd)=0 |
The scaling transformation. Define in derived classes. More... | |
virtual | ~ITransformScale ()=default |
Virtual destructor needed for an abstract class. More... | |
Private Attributes | |
double | m_base |
The scaling transformation. More... | |
Definition at line 27 of file LogarithmScale.h.
|
inline |
Definition at line 29 of file LogarithmScale.h.
|
inlineoverridevirtual |
Reimplemented from Mantid::API::ITransformScale.
Definition at line 30 of file LogarithmScale.h.
void Mantid::API::LogarithmScale::setBase | ( | const double | base | ) |
Definition at line 25 of file LogarithmScale.cpp.
References Mantid::Kernel::Logger::error(), and Mantid::API::g_log.
|
overridevirtual |
The scaling transformation. Define in derived classes.
Implements Mantid::API::ITransformScale.
Definition at line 35 of file LogarithmScale.cpp.
References Mantid::Kernel::Logger::error(), Mantid::API::g_log, m_base, n, and Mantid::Geometry::x.
|
private |
The scaling transformation.
First and last elements of the grid remain unchanged
Definition at line 37 of file LogarithmScale.h.
Referenced by transform().