Mantid
Loading...
Searching...
No Matches
Framework
API
inc
MantidAPI
LinearScale.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
8
9
//----------------------------------------------------------------------
10
// Includes
11
//----------------------------------------------------------------------
12
#include <vector>
13
14
#include "MantidAPI/DllConfig.h"
15
#include "
MantidAPI/ITransformScale.h
"
16
17
namespace
Mantid
{
18
namespace
API
{
19
/*Base class representing a linear scaling transformation acting on a
20
one-dimensional grid domain
21
22
@author Jose Borreguero
23
@date Aug/28/2012
24
*/
25
26
class
MANTID_API_DLL
LinearScale
:
public
API::ITransformScale
{
27
public
:
30
const
std::string
name
()
const override
{
return
"LinearScale"
; }
31
void
transform(std::vector<double> &gd)
override
;
32
};
// class LinearScale
33
34
}
// namespace API
35
}
// namespace Mantid
ITransformScale.h
Mantid::API::ITransformScale
Definition:
ITransformScale.h:30
Mantid::API::LinearScale
Definition:
LinearScale.h:26
Mantid::API::LinearScale::name
const std::string name() const override
The scaling transformation.
Definition:
LinearScale.h:30
API
Definition:
ChudleyElliotSQE.h:16
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Generated on Tue Jan 3 2023 11:57:22 for Mantid by
1.9.5