Definition at line 66 of file sparse_matrix.h.
#include <sparse_matrix.h>
|
| bool | set (VariableId first, VariableId second, double value) |
| double | get (VariableId first, VariableId second) const |
| void | Delete (VariableId variable) |
| std::vector< VariableId > | Variables () const |
| std::vector< VariableId > | RelatedVariables (VariableId variable) const |
| std::vector< std::pair< VariableId, double > > | Terms (VariableId variable) const |
| std::vector< std::tuple< VariableId, VariableId, double > > | Terms () const |
| void | Clear () |
| int64_t | nonzeros () const |
| int64_t | impl_detail_matrix_storage_size () const |
| const absl::flat_hash_map< std::pair< VariableId, VariableId >, double > & | values () const |
| SparseDoubleMatrixProto | Proto () const |
| SparseDoubleMatrixProto | Update (const absl::flat_hash_set< VariableId > &deleted_variables, absl::Span< const VariableId > new_variables, const absl::flat_hash_set< std::pair< VariableId, VariableId > > &dirty) const |
◆ Clear()
| void operations_research::math_opt::SparseSymmetricMatrix::Clear |
( |
| ) |
|
◆ Delete()
| void operations_research::math_opt::SparseSymmetricMatrix::Delete |
( |
VariableId | variable | ) |
|
◆ get()
| double operations_research::math_opt::SparseSymmetricMatrix::get |
( |
VariableId | first, |
|
|
VariableId | second ) const |
|
inline |
◆ impl_detail_matrix_storage_size()
| int64_t operations_research::math_opt::SparseSymmetricMatrix::impl_detail_matrix_storage_size |
( |
| ) |
const |
|
inline |
◆ nonzeros()
| int64_t operations_research::math_opt::SparseSymmetricMatrix::nonzeros |
( |
| ) |
const |
|
inline |
◆ Proto()
◆ RelatedVariables()
| std::vector< VariableId > operations_research::math_opt::SparseSymmetricMatrix::RelatedVariables |
( |
VariableId | variable | ) |
const |
◆ set()
| bool operations_research::math_opt::SparseSymmetricMatrix::set |
( |
VariableId | first, |
|
|
VariableId | second, |
|
|
double | value ) |
|
inline |
◆ Terms() [1/2]
| std::vector< std::tuple< VariableId, VariableId, double > > operations_research::math_opt::SparseSymmetricMatrix::Terms |
( |
| ) |
const |
◆ Terms() [2/2]
| std::vector< std::pair< VariableId, double > > operations_research::math_opt::SparseSymmetricMatrix::Terms |
( |
VariableId | variable | ) |
const |
◆ Update()
◆ values()
| const absl::flat_hash_map< std::pair< VariableId, VariableId >, double > & operations_research::math_opt::SparseSymmetricMatrix::values |
( |
| ) |
const |
|
inline |
◆ Variables()
| std::vector< VariableId > operations_research::math_opt::SparseSymmetricMatrix::Variables |
( |
| ) |
const |
The documentation for this class was generated from the following files: