Clp
1.17.8
|
#include <ClpPackedMatrix.hpp>
Public Member Functions | |
Useful methods | |
void | transposeTimes (const ClpSimplex *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 | |
ClpPackedMatrix2 () | |
Default constructor. More... | |
ClpPackedMatrix2 (ClpSimplex *model, const CoinPackedMatrix *rowCopy) | |
Constructor from copy. More... | |
virtual | ~ClpPackedMatrix2 () |
Destructor. More... | |
Copy method | |
ClpPackedMatrix2 (const ClpPackedMatrix2 &) | |
The copy constructor. More... | |
ClpPackedMatrix2 & | operator= (const ClpPackedMatrix2 &) |
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 526 of file ClpPackedMatrix.hpp.
ClpPackedMatrix2::ClpPackedMatrix2 | ( | ) |
Default constructor.
ClpPackedMatrix2::ClpPackedMatrix2 | ( | ClpSimplex * | model, |
const CoinPackedMatrix * | rowCopy | ||
) |
Constructor from copy.
|
virtual |
Destructor.
ClpPackedMatrix2::ClpPackedMatrix2 | ( | const ClpPackedMatrix2 & | ) |
The copy constructor.
void ClpPackedMatrix2::transposeTimes | ( | const ClpSimplex * | 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 ClpSimplex
|
inline |
Returns true if copy has useful information.
Definition at line 540 of file ClpPackedMatrix.hpp.
ClpPackedMatrix2& ClpPackedMatrix2::operator= | ( | const ClpPackedMatrix2 & | ) |
|
protected |
Number of blocks.
Definition at line 568 of file ClpPackedMatrix.hpp.
|
protected |
Number of rows.
Definition at line 570 of file ClpPackedMatrix.hpp.
|
protected |
Column offset for each block (plus one at end)
Definition at line 572 of file ClpPackedMatrix.hpp.
|
mutableprotected |
Counts of elements in each part of row.
Definition at line 574 of file ClpPackedMatrix.hpp.
|
mutableprotected |
Row starts.
Definition at line 576 of file ClpPackedMatrix.hpp.
|
protected |
columns within block
Definition at line 578 of file ClpPackedMatrix.hpp.
|
protected |
work arrays
Definition at line 580 of file ClpPackedMatrix.hpp.