9#include "MantidKernel/DllConfig.h"
26 VMDBase(
double val0,
double val1);
27 VMDBase(
double val0,
double val1,
double val2);
28 VMDBase(
double val0,
double val1,
double val2,
double val3);
29 VMDBase(
double val0,
double val1,
double val2,
double val3,
double val4);
30 VMDBase(
double val0,
double val1,
double val2,
double val3,
double val4,
double val5);
36 VMDBase(
size_t nd,
const double *bareData);
37 VMDBase(
size_t nd,
const float *bareData);
39 VMDBase(
const std::vector<double> &vector);
40 VMDBase(
const std::vector<float> &vector);
41 VMDBase(
const std::string &str);
44 size_t getNumDims()
const;
46 const TYPE &operator[](
const size_t index)
const;
48 const TYPE *getBareArray()
const;
49 std::string toString(
const std::string &separator =
" ")
const;
72 static std::vector<VMDBase> makeVectorsOrthogonal(std::vector<VMDBase> &vectors);
73 static VMDBase getNormalVector(
const std::vector<VMDBase> &vectors);
std::map< DeltaEMode::Type, std::string > index
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Simple vector class for multiple dimensions (i.e.
size_t nd
Number of dimensions.
TYPE * data
Data, an array of size nd.
MatrixWorkspace_sptr MANTID_API_DLL operator*(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Multiply two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator/=(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Divide two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator+=(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Adds two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator-=(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Subtracts two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator-(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Subtracts two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator*=(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Multiply two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator/(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Divide two workspaces.
MatrixWorkspace_sptr MANTID_API_DLL operator+(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Adds two workspaces.
MANTID_KERNEL_DLL std::ostream & operator<<(std::ostream &, CPUTimer &)
Convenience function to provide for easier debug printing.
MANTID_KERNEL_DLL V3D normalize(V3D v)
Normalizes a V3D.
float VMD_t
Underlying data type for the VMD type.
Helper class which provides the Collimation Length for SANS instruments.
constexpr bool operator==(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)
constexpr bool operator!=(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)