A serializable (x,y,sigma(y)) triplet.
More...
#include <bayeux/mygsl/datapoint.h>
A serializable (x,y,sigma(y)) triplet.
◆ datapoint() [1/2]
mygsl::datapoint::datapoint |
( |
| ) |
|
◆ datapoint() [2/2]
mygsl::datapoint::datapoint |
( |
double |
x_, |
|
|
double |
y_, |
|
|
double |
sigma_y_ = std::numeric_limits< double >::quiet_NaN() |
|
) |
| |
Constructor with a (x, y, sigma_y) triplet.
◆ ~datapoint()
virtual mygsl::datapoint::~datapoint |
( |
| ) |
|
|
virtual |
◆ comp_by_x()
Compare two datapoint using their X coordinate.
◆ has_sigma_y()
bool mygsl::datapoint::has_sigma_y |
( |
| ) |
const |
Check if the error on the Y coordinate is provided.
◆ is_weighted()
bool mygsl::datapoint::is_weighted |
( |
| ) |
const |
Check if the datapoints in weighted with the error on the Y coordinate.
◆ sigma_y()
const double& mygsl::datapoint::sigma_y |
( |
| ) |
const |
Return the error on the Y coordinate.
◆ x()
const double& mygsl::datapoint::x |
( |
| ) |
const |
◆ y()
const double& mygsl::datapoint::y |
( |
| ) |
const |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const datapoint & |
|
|
) |
| |
|
friend |
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
, |
|
|
datapoint & |
|
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: