Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::API::LinearScale Class Reference

#include <LinearScale.h>

Inheritance diagram for Mantid::API::LinearScale:
Mantid::API::ITransformScale

Public Member Functions

const std::string name () const override
 The scaling transformation. More...
 
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...
 

Detailed Description

Definition at line 26 of file LinearScale.h.

Member Function Documentation

◆ name()

const std::string Mantid::API::LinearScale::name ( ) const
inlineoverridevirtual

The scaling transformation.

First and last elements of the grid remain unchanged

Reimplemented from Mantid::API::ITransformScale.

Definition at line 30 of file LinearScale.h.

◆ transform()

void Mantid::API::LinearScale::transform ( std::vector< double > &  gd)
overridevirtual

The scaling transformation. Define in derived classes.

Implements Mantid::API::ITransformScale.

Definition at line 21 of file LinearScale.cpp.

References n, and Mantid::Geometry::x.


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