|
Mantid
|
1D domain - a wrapper around an array of doubles. More...
#include <FunctionDomain1D.h>
Public Member Functions | |
| FunctionDomain1DView (const double *x, size_t n) | |
| Creates a FunctionDomain1DView pointing to an array of doubles of size n. More... | |
Public Member Functions inherited from Mantid::API::FunctionDomain1D | |
| FunctionDomain1D (const FunctionDomain1D &right)=delete | |
| copying is not allowed. More... | |
| int | getPeakRadius () const |
| Get the peak radius. More... | |
| const double * | getPointerAt (size_t i) const |
| Get a pointer to i-th value. More... | |
| FunctionDomain1D & | operator= (const FunctionDomain1D &)=delete |
| copying is not allowed. More... | |
| double | operator[] (size_t i) const |
| Get an x value. More... | |
| void | setPeakRadius (int radius) |
| Set a peak radius to pass to peak functions. More... | |
| size_t | size () const override |
| Return the number of arguments in the domain. More... | |
| std::vector< double > | toVector () const |
| Convert to a vector. More... | |
Public Member Functions inherited from Mantid::API::FunctionDomain | |
| virtual void | reset () const |
| Reset the the domain so it can be reused. More... | |
| virtual size_t | size () const =0 |
| Return the number of points in the domain. More... | |
| virtual | ~FunctionDomain ()=default |
| Virtual destructor. More... | |
Private Member Functions | |
| FunctionDomain1DView (const FunctionDomain1DView &) | |
| Private copy constructor - copying is not allowed. More... | |
| FunctionDomain1DView & | operator= (const FunctionDomain1DView &) |
| Private copy assignment operator - copying is not allowed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Mantid::API::FunctionDomain1D | |
| FunctionDomain1D (const double *x, size_t n) | |
| Protected constructor, shouldn't be created directly. More... | |
| void | resetData (const double *x, size_t n) |
| Reset the pointer and size of the domain. More... | |
1D domain - a wrapper around an array of doubles.
Definition at line 98 of file FunctionDomain1D.h.
|
inline |
Creates a FunctionDomain1DView pointing to an array of doubles of size n.
| x | :: The start of the array. |
| n | :: The size of the array. |
Definition at line 105 of file FunctionDomain1D.h.
References Mantid::Geometry::x.
|
private |
Private copy constructor - copying is not allowed.
|
private |
Private copy assignment operator - copying is not allowed.