13namespace MDAlgorithms {
21 const std::string name()
const override;
23 const std::string
summary()
const override {
return "Subtract two MDWorkspaces."; }
25 int version()
const override;
26 const std::vector<std::string>
seeAlso()
const override {
return {
"PlusMD",
"MultiplyMD",
"DivideMD",
"PowerMD"}; }
30 bool commutative()
const override;
33 void checkInputs()
override;
38 void execEvent()
override;
std::shared_ptr< MDEventWorkspace< MDE, nd > > sptr
Typedef for a shared pointer of this kind of event workspace.
Abstract base class for binary operations on IMDWorkspaces, e.g.
MinusMD : minus operation for MDWorkspaces.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
const std::string summary() const override
Summary of algorithms purpose.
std::shared_ptr< const WorkspaceSingleValue > WorkspaceSingleValue_const_sptr
std::shared_ptr< MDHistoWorkspace > MDHistoWorkspace_sptr
A shared pointer to a MDHistoWorkspace.
std::shared_ptr< const MDHistoWorkspace > MDHistoWorkspace_const_sptr
A shared pointer to a const MDHistoWorkspace.
Helper class which provides the Collimation Length for SANS instruments.