Mantid
Loading...
Searching...
No Matches
CommutativeBinaryOperation.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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
10
11namespace Mantid {
12namespace Algorithms {
24class MANTID_ALGORITHMS_DLL CommutativeBinaryOperation : public BinaryOperation {
25public:
26protected:
27 // Overridden BinaryOperation method
29 std::string checkSizeCompatibility(const API::MatrixWorkspace_const_sptr lhs,
30 const API::MatrixWorkspace_const_sptr rhs) const override;
31};
32
33} // namespace Algorithms
34} // namespace Mantid
const std::vector< double > & rhs
BinaryOperation supports the implementation of a binary operation on two input workspaces.
CommutativeBinaryOperation supports commutative binary operations on two input workspaces.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
Helper class which provides the Collimation Length for SANS instruments.