#include <Matrix.h>
Definition at line 7 of file Matrix.h.
◆ ColIndex
◆ Column
◆ DataIndex
◆ RowIndex
◆ Matrix() [1/4]
smtrat::qe::util::Matrix::Matrix |
( |
| ) |
|
|
inline |
◆ Matrix() [2/4]
smtrat::qe::util::Matrix::Matrix |
( |
const Matrix & |
other | ) |
|
|
default |
◆ Matrix() [3/4]
smtrat::qe::util::Matrix::Matrix |
( |
Matrix && |
other | ) |
|
|
default |
◆ Matrix() [4/4]
smtrat::qe::util::Matrix::Matrix |
( |
std::size_t |
expected_rows, |
|
|
std::size_t |
expected_cols |
|
) |
| |
|
inline |
◆ ~Matrix()
smtrat::qe::util::Matrix::~Matrix |
( |
| ) |
|
|
default |
◆ append_row()
template<typename It >
RowIndex smtrat::qe::util::Matrix::append_row |
( |
const It & |
begin, |
|
|
const It & |
end |
|
) |
| |
|
inline |
Appends the row contained in the range between begin and end to the matrix.
This assumes the inputs to be of the same iterator-like type pointing to RowEntry's.
- Returns
- the row index of the appended row within the matrix.
Definition at line 89 of file Matrix.h.
◆ coeff()
◆ col_begin()
◆ col_end()
◆ col_entries()
◆ combine()
Computes scale_1*A_(i,-) + scale_2*A_(j,-) where i=row_idx_1, j=row_idx_2.
- Returns
- a vector containing the elements of the computed row.
Definition at line 104 of file Matrix.h.
◆ n_cols()
std::size_t smtrat::qe::util::Matrix::n_cols |
( |
| ) |
const |
|
inline |
◆ n_rows()
std::size_t smtrat::qe::util::Matrix::n_rows |
( |
| ) |
const |
|
inline |
◆ non_zeros_in_col()
std::size_t smtrat::qe::util::Matrix::non_zeros_in_col |
( |
const ColIndex |
ci | ) |
const |
|
inline |
◆ non_zeros_in_row()
std::size_t smtrat::qe::util::Matrix::non_zeros_in_row |
( |
const RowIndex |
ri | ) |
const |
|
inline |
◆ non_zeros_total()
std::size_t smtrat::qe::util::Matrix::non_zeros_total |
( |
| ) |
const |
|
inline |
◆ operator=()
Matrix& smtrat::qe::util::Matrix::operator= |
( |
const Matrix & |
other | ) |
|
|
default |
◆ reserve()
void smtrat::qe::util::Matrix::reserve |
( |
std::size_t |
n | ) |
|
|
inline |
◆ row_begin()
◆ row_end()
◆ row_end_idx()
◆ row_entries()
◆ row_size()
std::size_t smtrat::qe::util::Matrix::row_size |
( |
const RowIndex |
ri | ) |
const |
|
inlineprivate |
◆ row_start_idx()
◆ m_cols
std::vector<Column> smtrat::qe::util::Matrix::m_cols |
|
private |
◆ m_data
std::vector<RowEntry> smtrat::qe::util::Matrix::m_data |
|
private |
◆ m_row_starts
std::vector<DataIndex> smtrat::qe::util::Matrix::m_row_starts |
|
private |
The documentation for this class was generated from the following file: