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. | |
Constructor/Destructor | |
TripletEntry () | |
Constructor. | |
~TripletEntry () | |
Destructor. | |
TripletEntry (const TripletEntry &rhs) | |
Copy constructor, required for std::list. | |
TripletEntry & | operator= (const TripletEntry &rhs) |
Equals Operator, required for std::list. | |
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_ |
Definition at line 26 of file IpTripletToCSRConverter.hpp.
Ipopt::TripletToCSRConverter::TripletEntry::TripletEntry | ( | ) | [inline] |
Ipopt::TripletToCSRConverter::TripletEntry::~TripletEntry | ( | ) | [inline] |
Ipopt::TripletToCSRConverter::TripletEntry::TripletEntry | ( | const TripletEntry & | rhs | ) | [inline] |
Copy constructor, required for std::list.
Definition at line 40 of file IpTripletToCSRConverter.hpp.
References i_pos_triplet_, i_row_, and j_col_.
TripletEntry& Ipopt::TripletToCSRConverter::TripletEntry::operator= | ( | const TripletEntry & | rhs | ) | [inline] |
Equals Operator, required for std::list.
Definition at line 48 of file IpTripletToCSRConverter.hpp.
References i_pos_triplet_, i_row_, and j_col_.
void Ipopt::TripletToCSRConverter::TripletEntry::Set | ( | Index | i_row, | |
Index | j_col, | |||
Index | i_pos_triplet | |||
) | [inline] |
Set the values of an entry.
Definition at line 60 of file IpTripletToCSRConverter.hpp.
References i_pos_triplet_, i_row_, and j_col_.
Index Ipopt::TripletToCSRConverter::TripletEntry::IRow | ( | ) | const [inline] |
Index Ipopt::TripletToCSRConverter::TripletEntry::JCol | ( | ) | const [inline] |
Index Ipopt::TripletToCSRConverter::TripletEntry::PosTriplet | ( | ) | const [inline] |
Index in original triplet matrix.
Definition at line 86 of file IpTripletToCSRConverter.hpp.
References i_pos_triplet_.
bool Ipopt::TripletToCSRConverter::TripletEntry::operator< | ( | const TripletEntry & | Tentry | ) | const [inline] |
Comparison operator.
This is required for the sort function.
Definition at line 93 of file IpTripletToCSRConverter.hpp.
Definition at line 119 of file IpTripletToCSRConverter.hpp.
Referenced by IRow(), operator<(), operator=(), Set(), and TripletEntry().
Definition at line 120 of file IpTripletToCSRConverter.hpp.
Referenced by JCol(), operator<(), operator=(), Set(), and TripletEntry().
Definition at line 121 of file IpTripletToCSRConverter.hpp.
Referenced by operator=(), PosTriplet(), Set(), and TripletEntry().