OR-Tools  9.6
CompactSparseMatrix::ConstView

Detailed Description

Definition at line 296 of file sparse.h.

Public Member Functions

 ConstView (const CompactSparseMatrix *matrix)
 
::util::IntegerRange< EntryIndex > Column (ColIndex col) const
 
Fractional EntryCoefficient (EntryIndex i) const
 
RowIndex EntryRow (EntryIndex i) const
 
EntryIndex ColumnNumEntries (ColIndex col) const
 
Fractional ColumnScalarProduct (ColIndex col, DenseRow::ConstView vector) const
 

Constructor & Destructor Documentation

◆ ConstView()

ConstView ( const CompactSparseMatrix matrix)
inlineexplicit

Definition at line 298 of file sparse.h.

Member Function Documentation

◆ Column()

::util::IntegerRange<EntryIndex> Column ( ColIndex  col) const
inline

Definition at line 309 of file sparse.h.

◆ ColumnNumEntries()

EntryIndex ColumnNumEntries ( ColIndex  col) const
inline

Definition at line 318 of file sparse.h.

◆ ColumnScalarProduct()

Fractional ColumnScalarProduct ( ColIndex  col,
DenseRow::ConstView  vector 
) const
inline

Definition at line 514 of file sparse.h.

◆ EntryCoefficient()

Fractional EntryCoefficient ( EntryIndex  i) const
inline

Definition at line 313 of file sparse.h.

◆ EntryRow()

RowIndex EntryRow ( EntryIndex  i) const
inline

Definition at line 316 of file sparse.h.


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