heatmap_data.h
Go to the documentation of this file.
54 float at(const size_t row, const size_t col) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
81 float operator[](const size_t idx) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
96 float operator()(const size_t row, const size_t col) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
114 float &operator()(const size_t row, const size_t col) INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
167 if(m_free) INTEROP_THROW( invalid_parameter, "Cannot use internal buffer map with external buffer");
float operator()(const size_t row, const size_t col) const INTEROP_THROW_SPEC((model
Definition: heatmap_data.h:96
void set_buffer(float *data) INTEROP_THROW_SPEC((model
Definition: heatmap_data.h:165
Definition: enum_description.h:15
size_t column_count() const
Definition: heatmap_data.h:137
float operator[](const size_t idx) const INTEROP_THROW_SPEC((model
Definition: heatmap_data.h:81
void write_csv(std::ostream &out, I beg, I end, const char eol, const size_t precision=10)
Definition: csv_format.h:117
size_t index_of(const size_t row, const size_t col) const
Definition: heatmap_data.h:230
float & operator()(const size_t row, const size_t col) INTEROP_THROW_SPEC((model
Definition: heatmap_data.h:114
void resize(const size_t rows, const size_t cols, const float default_val=std::numeric_limits< float >::quiet_NaN())
Definition: heatmap_data.h:196
Definition: chart_data.h:19
float at(const size_t row, const size_t col) const INTEROP_THROW_SPEC((model
Definition: heatmap_data.h:54
Definition: heatmap_data.h:22
bool empty() const
Definition: heatmap_data.h:154
size_t length() const
Definition: heatmap_data.h:146
heatmap_data()
Definition: heatmap_data.h:27
friend std::ostream & operator<<(std::ostream &out, const heatmap_data &data)
Definition: heatmap_data.h:234
float at(const size_t idx) const INTEROP_THROW_SPEC((model
Definition: heatmap_data.h:70
Definition: model_exceptions.h:50
void set_buffer(float *data, const size_t rows, const size_t cols, const float default_val=std::numeric_limits< float >::quiet_NaN())
Definition: heatmap_data.h:178
Definition: metric_exceptions.h:25
virtual ~heatmap_data()
Definition: heatmap_data.h:30
void read_csv(std::istream &in, I beg, I end, const char delim=',')
Definition: csv_format.h:69
size_t row_count() const
Definition: heatmap_data.h:128
friend std::istream & operator>>(std::istream &in, heatmap_data &data)
Definition: heatmap_data.h:242