Clp  1.17.8
List of all members
AbcMatrix2 Class Reference

#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 z. 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...
 
AbcMatrix2operator= (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...
 

Detailed Description

Definition at line 537 of file AbcMatrix.hpp.

Constructor & Destructor Documentation

◆ AbcMatrix2() [1/3]

AbcMatrix2::AbcMatrix2 ( )

Default constructor.

◆ AbcMatrix2() [2/3]

AbcMatrix2::AbcMatrix2 ( AbcSimplex model,
const CoinPackedMatrix *  rowCopy 
)

Constructor from copy.

◆ ~AbcMatrix2()

AbcMatrix2::~AbcMatrix2 ( )

Destructor.

◆ AbcMatrix2() [3/3]

AbcMatrix2::AbcMatrix2 ( const AbcMatrix2 )

The copy constructor.

Member Function Documentation

◆ transposeTimes()

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

◆ usefulInfo()

bool AbcMatrix2::usefulInfo ( ) const
inline

Returns true if copy has useful information.

Definition at line 551 of file AbcMatrix.hpp.

◆ operator=()

AbcMatrix2& AbcMatrix2::operator= ( const AbcMatrix2 )

Member Data Documentation

◆ numberBlocks_

int AbcMatrix2::numberBlocks_
protected

Number of blocks.

Definition at line 579 of file AbcMatrix.hpp.

◆ numberRows_

int AbcMatrix2::numberRows_
protected

Number of rows.

Definition at line 581 of file AbcMatrix.hpp.

◆ offset_

int* AbcMatrix2::offset_
protected

Column offset for each block (plus one at end)

Definition at line 583 of file AbcMatrix.hpp.

◆ count_

unsigned short* AbcMatrix2::count_
mutableprotected

Counts of elements in each part of row.

Definition at line 585 of file AbcMatrix.hpp.

◆ rowStart_

CoinBigIndex* AbcMatrix2::rowStart_
mutableprotected

Row starts.

Definition at line 587 of file AbcMatrix.hpp.

◆ column_

unsigned short* AbcMatrix2::column_
protected

columns within block

Definition at line 589 of file AbcMatrix.hpp.

◆ work_

double* AbcMatrix2::work_
protected

work arrays

Definition at line 591 of file AbcMatrix.hpp.


The documentation for this class was generated from the following file: