Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
WorkspaceOpOverloads.h File Reference
#include "MantidAPI/DllConfig.h"
#include "MantidAPI/MatrixWorkspace_fwd.h"
#include <string>

Go to the source code of this file.

Classes

struct  Mantid::API::WorkspaceHelpers
 A collection of static functions for use with workspaces. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::API
 
namespace  Mantid::API::OperatorOverloads
 

Functions

bool MANTID_API_DLL Mantid::API::equals (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs, double tolerance)
 Performs a comparison operation on two workspaces, using the CompareWorkspaces algorithm. More...
 
template<typename LHSType , typename RHSType , typename ResultType >
DLLExport ResultType Mantid::API::OperatorOverloads::executeBinaryOperation (const std::string &algorithmName, const LHSType lhs, const RHSType rhs, bool lhsAsOutput=false, bool child=true, const std::string &name="", bool rethrow=false)
 Performs a binary operation on two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator* (const double &lhsValue, const MatrixWorkspace_sptr &rhs)
 Multiply a workspace and a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator* (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Multiply a workspace and a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator* (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Multiply two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator*= (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Multiplies a workspace by a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator*= (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Multiply two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator+ (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Adds a workspace to a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator+ (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Adds two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator+= (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Adds a single value to a workspace. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator+= (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Adds two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator- (const double &lhsValue, const MatrixWorkspace_sptr &rhs)
 Subtracts a workspace from a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator- (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Subtracts a single value from a workspace. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator- (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Subtracts two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator-= (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Subtracts a single value from a workspace. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator-= (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Subtracts two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator/ (const double &lhsValue, const MatrixWorkspace_sptr &rhs)
 Divide a single value and a workspace. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator/ (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Divide a workspace by a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator/ (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Divide two workspaces. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator/= (const MatrixWorkspace_sptr &lhs, const double &rhsValue)
 Divides a workspace by a single value. More...
 
MatrixWorkspace_sptr MANTID_API_DLL Mantid::API::operator/= (const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
 Divide two workspaces. More...