Mantid
Loading...
Searching...
No Matches
Framework
Algorithms
src
MatrixWorkspaceAccess.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#include "
MantidAlgorithms/MatrixWorkspaceAccess.h
"
8
9
namespace
Mantid::Algorithms
{
10
13
decltype
(std::mem_fn((std::vector<double> & (API::MatrixWorkspace::*)(
const
std::size_t)) &
14
API::MatrixWorkspace::dataX
))
MatrixWorkspaceAccess::x
=
15
std::mem_fn((std::vector<double> & (API::MatrixWorkspace::*)(
const
std::size_t)) &
API::MatrixWorkspace::dataX
);
17
}
// namespace Mantid::Algorithms
MatrixWorkspaceAccess.h
Mantid::API::MatrixWorkspace::dataX
virtual MantidVec & dataX(const std::size_t index)
Deprecated, use mutableX() instead. Returns the x data.
Definition:
MatrixWorkspace.h:256
Mantid::Algorithms
Definition:
AbsorptionCorrection.h:28
Mantid::Algorithms::MatrixWorkspaceAccess::x
static decltype(std::mem_fn((std::vector< double > &(API::MatrixWorkspace::*)(const std::size_t)) &API::MatrixWorkspace::dataX)) x
Definition:
MatrixWorkspaceAccess.h:16
Generated on Tue Jan 3 2023 11:57:19 for Mantid by
1.9.5