Ipopt
trunk
|
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. | |
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. | |
Default Constructor Copy Constructor | |
Index | i_row_ |
Index | j_col_ |
Index | i_pos_triplet_ |
Class for one triplet position entry.
Definition at line 26 of file IpTripletToCSRConverter.hpp.
Constructor.
Definition at line 32 of file IpTripletToCSRConverter.hpp.
Destructor.
Definition at line 36 of file IpTripletToCSRConverter.hpp.
Ipopt::TripletToCSRConverter::TripletEntry::TripletEntry | ( | const TripletEntry & | rhs | ) | [inline] |
Copy constructor, required for std::list.
Definition at line 40 of file IpTripletToCSRConverter.hpp.
TripletEntry& Ipopt::TripletToCSRConverter::TripletEntry::operator= | ( | const TripletEntry & | rhs | ) | [inline] |
Equals Operator, required for std::list.
Definition at line 48 of file IpTripletToCSRConverter.hpp.
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.
Index Ipopt::TripletToCSRConverter::TripletEntry::IRow | ( | ) | const [inline] |
Row position.
Definition at line 76 of file IpTripletToCSRConverter.hpp.
Index Ipopt::TripletToCSRConverter::TripletEntry::JCol | ( | ) | const [inline] |
Column position.
Definition at line 81 of file IpTripletToCSRConverter.hpp.
Index Ipopt::TripletToCSRConverter::TripletEntry::PosTriplet | ( | ) | const [inline] |
Index in original triplet matrix.
Definition at line 86 of file IpTripletToCSRConverter.hpp.
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.
Definition at line 120 of file IpTripletToCSRConverter.hpp.
Definition at line 121 of file IpTripletToCSRConverter.hpp.