14namespace MDAlgorithms {
22 const std::string name()
const override;
24 const std::string
summary()
const override {
return "Multiply a MDHistoWorkspace by another one or a scalar."; }
26 int version()
const override;
27 const std::vector<std::string>
seeAlso()
const override {
return {
"MinusMD",
"PlusMD",
"DivideMD",
"PowerMD"}; }
31 bool commutative()
const override;
34 void checkInputs()
override;
37 void execEvent()
override;
47 template <
typename MDE,
size_t nd>
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.
MultiplyMD : multiplication operation for MDWorkspaces.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
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.