|
void MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::convertToBinBoundary (const std::vector< double > &bin_centers, std::vector< double > &bin_edges) |
| Convert an array of bin centers to bin boundary values. More...
|
|
void MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::convertToBinCentre (const std::vector< double > &bin_edges, std::vector< double > &bin_centres) |
| Convert an array of bin boundaries to bin center values. More...
|
|
int MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::createAxisFromRebinParams (const std::vector< double > ¶ms, std::vector< double > &xnew, const bool resize_xnew, const bool full_bins_only, const double xMinHint, const double xMaxHint, const bool useReverseLogarithmic, const double power) |
| Creates a new output X array given a 'standard' set of rebinning parameters. More...
|
|
MANTID_KERNEL_DLL int | Mantid::Kernel::VectorHelper::getBinIndex (const std::vector< double > &bins, const double value) |
| Return the index into a vector of bin boundaries for a particular X value. More...
|
|
size_t MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::indexOfValueFromCenters (const std::vector< double > &bin_centers, const double value) |
| Gets the bin of a value from a vector of bin centers and throws exception if out of range. More...
|
|
int MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::indexOfValueFromCentersNoThrow (const std::vector< double > &bin_centers, const double value) |
| Gets the bin of a value from a vector of bin centers and returns -1 if out of range. More...
|
|
size_t MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::indexOfValueFromEdges (const std::vector< double > &bin_edges, const double value) |
| Gets the bin of a value from a vector of bin edges. More...
|
|
bool MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::isConstantValue (const std::vector< double > &arra) |
| Assess if all the values in the vector are equal or if there are some different values. More...
|
|
void MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::rebin (const std::vector< double > &xold, const std::vector< double > &yold, const std::vector< double > &eold, const std::vector< double > &xnew, std::vector< double > &ynew, std::vector< double > &enew, bool distribution, bool addition) |
| Rebins data according to a new output X array. More...
|
|
void MANTID_KERNEL_DLL | Mantid::Kernel::VectorHelper::rebinHistogram (const std::vector< double > &xold, const std::vector< double > &yold, const std::vector< double > &eold, const std::vector< double > &xnew, std::vector< double > &ynew, std::vector< double > &enew, bool addition) |
| Rebins histogram data according to a new output X array. More...
|
|
MANTID_KERNEL_DLL void | Mantid::Kernel::VectorHelper::smoothInRange (const std::vector< double > &input, std::vector< double > &output, const double avrgInterval, std::vector< double > const *const binBndrs, size_t startIndex, size_t endIndex, std::vector< double > *const outBins) |
| Basic running average of input vector within specified range, considering variable bin-boundaries if such boundaries are provided. More...
|
|
template<typename NumT > |
std::vector< NumT > | Mantid::Kernel::VectorHelper::splitStringIntoVector (std::string listString) |
| Take a string of comma or space-separated values, and splits it into a vector of doubles. More...
|
|
template DLLExport std::vector< double > | Mantid::Kernel::VectorHelper::splitStringIntoVector< double > (std::string listString) |
|
template DLLExport std::vector< float > | Mantid::Kernel::VectorHelper::splitStringIntoVector< float > (std::string listString) |
|
template DLLExport std::vector< int32_t > | Mantid::Kernel::VectorHelper::splitStringIntoVector< int32_t > (std::string listString) |
| Declare all version of this. More...
|
|
template DLLExport std::vector< int64_t > | Mantid::Kernel::VectorHelper::splitStringIntoVector< int64_t > (std::string listString) |
|
template DLLExport std::vector< size_t > | Mantid::Kernel::VectorHelper::splitStringIntoVector< size_t > (std::string listString) |
|
template DLLExport std::vector< std::string > | Mantid::Kernel::VectorHelper::splitStringIntoVector< std::string > (std::string listString) |
|