Ipopt Documentation  
No Matches
Ipopt::TripletToCSRConverter::TripletEntry Class Reference

Class for one triplet position entry. More...

Public Member Functions

void Set (Index i_row, Index j_col, Index i_pos_triplet)
 Set the values of an entry.
bool operator< (const TripletEntry &Tentry) const
 Comparison operator.
Accessor methods.
Index IRow () const
 Row position.
Index JCol () const
 Column position.
Index PosTriplet () const
 Index in original triplet matrix.

Private Attributes

Entry content.
Index i_row_
Index j_col_
Index i_pos_triplet_

Detailed Description

Class for one triplet position entry.

Definition at line 25 of file IpTripletToCSRConverter.hpp.

Member Function Documentation

◆ Set()

void Ipopt::TripletToCSRConverter::TripletEntry::Set ( Index  i_row,
Index  j_col,
Index  i_pos_triplet 

Set the values of an entry.

Definition at line 30 of file IpTripletToCSRConverter.hpp.

◆ IRow()

Index Ipopt::TripletToCSRConverter::TripletEntry::IRow ( ) const

Row position.

Definition at line 52 of file IpTripletToCSRConverter.hpp.

◆ JCol()

Index Ipopt::TripletToCSRConverter::TripletEntry::JCol ( ) const

Column position.

Definition at line 58 of file IpTripletToCSRConverter.hpp.

◆ PosTriplet()

Index Ipopt::TripletToCSRConverter::TripletEntry::PosTriplet ( ) const

Index in original triplet matrix.

Definition at line 64 of file IpTripletToCSRConverter.hpp.

◆ operator<()

bool Ipopt::TripletToCSRConverter::TripletEntry::operator< ( const TripletEntry Tentry) const

Comparison operator.

This is required for the sort function.

Definition at line 74 of file IpTripletToCSRConverter.hpp.

Member Data Documentation

◆ i_row_

Index Ipopt::TripletToCSRConverter::TripletEntry::i_row_

Definition at line 84 of file IpTripletToCSRConverter.hpp.

◆ j_col_

Index Ipopt::TripletToCSRConverter::TripletEntry::j_col_

Definition at line 85 of file IpTripletToCSRConverter.hpp.

◆ i_pos_triplet_

Index Ipopt::TripletToCSRConverter::TripletEntry::i_pos_triplet_

Definition at line 86 of file IpTripletToCSRConverter.hpp.

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