|
using | NdVal = typename Utils::ndarray< double, N > |
|
using | NdValPair = typename Utils::ndarray< std::pair< double, double >, N > |
|
using | DataSize = std::integral_constant< size_t, 3 *N > |
|
using | ValuePair = std::pair< double, double > |
|
size_t | dim () const |
| Space dimension of the point.
|
|
| PointBase () |
|
template<typename ValRange = ValList, typename = isIterable<ValRange>> |
| PointBase (ValRange &&val) |
| Constructor from position values without errors.
|
|
template<typename ValRange = ValList, typename PairRange = PairList, typename = isIterableWithPair<ValRange,PairRange>> |
| PointBase (ValRange &&val, PairRange &&errs) |
| Constructor from values and a set of asymmetric errors.
|
|
template<typename ValRange = ValList, typename = isIterable<ValRange>> |
| PointBase (ValRange &&val, ValRange &&errs) |
| Constructor from values and a set of symmetric errors.
|
|
template<typename ValRange = ValList, typename = isIterable<ValRange>> |
| PointBase (ValRange &&val, ValRange &&errsdn, ValRange &&errsup) |
| Constructor from values and a set of asymmetric errors.
|
|
| PointBase (const PointBase &p) |
|
| PointBase (PointBase &&p) |
|
void | clear () |
| Clear the point values and errors.
|
|
PointBase & | operator= (const PointBase &p) |
| Assignment operator.
|
|
PointBase & | operator= (PointBase &&p) |
| Assignment operator.
|
|
NdVal & | vals () |
| Get the coordinate vector.
|
|
const NdVal & | vals () const |
| Get the coordinate vector (const version)
|
|
double | val (size_t i) const |
| Get the value along direction i.
|
|
void | setVal (const NdVal &val) |
| Set the coordinate vector.
|
|
void | setVal (const size_t i, const double val) |
| Set a specific coordinate.
|
|
NdValPair & | errs () |
| Get error values.
|
|
const NdValPair & | errs () const |
| Get error values (const version)
|
|
Pair | errs (const size_t i) const |
| Get error values along axis i.
|
|
double | errMinus (const size_t i) const |
| Get the minus error along axis i.
|
|
double | errPlus (const size_t i) const |
| Get the plus error along axis i.
|
|
double | errAvg (const size_t i) const |
|
double | min (const size_t i) const |
| Get value minus negative error along axis i.
|
|
double | max (const size_t i) const |
| Get value plus positive error along axis i.
|
|
void | setErr (const size_t i, const double e) |
| Set a symmetric error pair along axis i.
|
|
void | setErrs (const size_t i, const double eminus, const double eplus) |
| Set an asymmetric error pair along axis i.
|
|
void | setErrs (const size_t i, const std::pair< double, double > &e) |
| Set a specific error pair along axis i.
|
|
void | setErrMinus (const size_t i, const double eminus) |
| Set a specific minus error along axis i.
|
|
void | setErrPlus (const size_t i, const double eplus) |
| Set a specific plus error along axis i.
|
|
void | set (const size_t i, const double val, const double e) |
| Set value and symmetric error for direction i.
|
|
void | set (const size_t i, const double val, const double eminus, const double eplus) |
| Set value and asymmetric error for direction i.
|
|
void | set (const size_t i, const double val, const std::pair< double, double > &e) |
| Set value and asymmetric error for direction i.
|
|
void | scaleVal (const size_t i, const double scale) |
| Scaling value along direction i.
|
|
void | scaleErr (const size_t i, const double scale) |
| Scaling error along direction i.
|
|
void | scale (const size_t i, const double scale) |
| Scaling along direction i.
|
|
void | scale (const NdVal &scales) |
| Uniform scaling.
|
|
void | scale (const Trf< N > &trf) |
| Generalised transformations with functors.
|
|
void | scale (const size_t i, const Trf< N > &trf) |
|
void | transform (const size_t i, const Trf< N > &trf) |
|
virtual | ~Point () |
| Virtual destructor for inheritance.
|
|
using | Pair = std::pair< double, double > |
|
using | ValList = std::initializer_list< double > |
|
using | PairList = std::initializer_list< Pair > |
|
template<typename Arr > |
using | containedType = std::decay_t< decltype(*std::declval< Arr >().begin())> |
|
template<typename Arr > |
using | containsPair = typename std::is_same< containedType< Arr >, Pair > |
|
template<typename T > |
using | isIterable = std::enable_if_t< Iterable< T >::value > |
|
template<typename T , typename U > |
using | isIterableWithPair = std::enable_if_t<(Iterable< T >::value &&Iterable< U >::value &&containsPair< U >::value)> |
|
template<size_t N>
class YODA::PointND< N >
Definition at line 545 of file Point.h.