Clp
1.17.8
|
#include <AbcMatrix.hpp>
Public Member Functions | |
Useful methods | |
void | transposeTimes (const AbcSimplex *model, const CoinPackedMatrix *rowCopy, const CoinIndexedVector &x, CoinIndexedVector &spareArray, CoinIndexedVector &z) const |
Return x * -1 * A in More... | |
bool | usefulInfo () const |
Returns true if copy has useful information. More... | |
Constructors, destructor | |
AbcMatrix2 () | |
Default constructor. More... | |
AbcMatrix2 (AbcSimplex *model, const CoinPackedMatrix *rowCopy) | |
Constructor from copy. More... | |
~AbcMatrix2 () | |
Destructor. More... | |
Copy method | |
AbcMatrix2 (const AbcMatrix2 &) | |
The copy constructor. More... | |
AbcMatrix2 & | operator= (const AbcMatrix2 &) |
Protected Attributes | |
Data members | |
The data members are protected to allow access for derived classes. | |
int | numberBlocks_ |
Number of blocks. More... | |
int | numberRows_ |
Number of rows. More... | |
int * | offset_ |
Column offset for each block (plus one at end) More... | |
unsigned short * | count_ |
Counts of elements in each part of row. More... | |
CoinBigIndex * | rowStart_ |
Row starts. More... | |
unsigned short * | column_ |
columns within block More... | |
double * | work_ |
work arrays More... | |
Definition at line 537 of file AbcMatrix.hpp.
AbcMatrix2::AbcMatrix2 | ( | ) |
Default constructor.
AbcMatrix2::AbcMatrix2 | ( | AbcSimplex * | model, |
const CoinPackedMatrix * | rowCopy | ||
) |
Constructor from copy.
AbcMatrix2::~AbcMatrix2 | ( | ) |
Destructor.
AbcMatrix2::AbcMatrix2 | ( | const AbcMatrix2 & | ) |
The copy constructor.
void AbcMatrix2::transposeTimes | ( | const AbcSimplex * | model, |
const CoinPackedMatrix * | rowCopy, | ||
const CoinIndexedVector & | x, | ||
CoinIndexedVector & | spareArray, | ||
CoinIndexedVector & | z | ||
) | const |
Return x * -1 * A in
z
.
Note - x packed and z will be packed mode Squashes small elements and knows about AbcSimplex
|
inline |
Returns true if copy has useful information.
Definition at line 551 of file AbcMatrix.hpp.
AbcMatrix2& AbcMatrix2::operator= | ( | const AbcMatrix2 & | ) |
|
protected |
Number of blocks.
Definition at line 579 of file AbcMatrix.hpp.
|
protected |
Number of rows.
Definition at line 581 of file AbcMatrix.hpp.
|
protected |
Column offset for each block (plus one at end)
Definition at line 583 of file AbcMatrix.hpp.
|
mutableprotected |
Counts of elements in each part of row.
Definition at line 585 of file AbcMatrix.hpp.
|
mutableprotected |
Row starts.
Definition at line 587 of file AbcMatrix.hpp.
|
protected |
columns within block
Definition at line 589 of file AbcMatrix.hpp.
|
protected |
work arrays
Definition at line 591 of file AbcMatrix.hpp.