Definition at line 64 of file glpk_sparse_vector.h.
#include <glpk_sparse_vector.h>
◆ GlpkSparseVector()
| operations_research::math_opt::GlpkSparseVector::GlpkSparseVector |
( |
int | capacity | ) |
|
|
explicit |
◆ capacity()
| int operations_research::math_opt::GlpkSparseVector::capacity |
( |
| ) |
const |
|
inline |
◆ Clear()
| void operations_research::math_opt::GlpkSparseVector::Clear |
( |
| ) |
|
◆ Get()
| std::optional< double > operations_research::math_opt::GlpkSparseVector::Get |
( |
int | index | ) |
const |
|
inline |
◆ indices()
| const int * operations_research::math_opt::GlpkSparseVector::indices |
( |
| ) |
const |
|
inline |
◆ Load()
| void operations_research::math_opt::GlpkSparseVector::Load |
( |
std::function< int(int *indices, double *values)> | getter | ) |
|
◆ Set()
| void operations_research::math_opt::GlpkSparseVector::Set |
( |
int | index, |
|
|
double | value ) |
|
inline |
◆ size()
| int operations_research::math_opt::GlpkSparseVector::size |
( |
| ) |
const |
|
inline |
◆ values()
| const double * operations_research::math_opt::GlpkSparseVector::values |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: