14namespace PythonInterface {
21template <
typename LHSType,
typename RHSType,
typename ResultType>
22ResultType
performBinaryOp(
const LHSType lhs,
const RHSType
rhs,
const std::string &op,
const std::string &name,
23 bool inplace,
bool reverse);
26template <
typename LHSType,
typename RHSType,
typename ResultType>
27ResultType
performBinaryOpMD(
const LHSType lhs,
const RHSType
rhs,
const std::string &op,
const std::string &name,
28 bool inplace,
bool reverse);
31template <
typename LHSType,
typename ResultType>
33 const std::string &name,
bool inplace,
bool reverse);
36template <
typename LHSType,
typename ResultType>
38 const std::string &name,
bool inplace,
bool reverse);
const std::vector< double > & rhs
double value
The value of the point.
ResultType performBinaryOpMDWithDouble(const LHSType lhs, const double value, const std::string &op, const std::string &name, bool inplace, bool reverse)
Binary op for MDworkspaces + double.
ResultType performBinaryOpWithDouble(const LHSType inputWS, const double value, const std::string &op, const std::string &name, bool inplace, bool reverse)
Binary op for a workspace and a double.
ResultType performBinaryOp(const LHSType lhs, const RHSType rhs, const std::string &op, const std::string &name, bool inplace, bool reverse)
Binary op for two workspaces.
ResultType performBinaryOpMD(const LHSType lhs, const RHSType rhs, const std::string &op, const std::string &name, bool inplace, bool reverse)
Binary op for two MDworkspaces.
Helper class which provides the Collimation Length for SANS instruments.