Public Member Functions |
| IndexSchurData () |
| This class is the implementation aimed at applications where only SchurData matrices with entries 1 or -1 appear.
|
| IndexSchurData (const std::vector< Index > idx, const std::vector< Index > val) |
virtual | ~IndexSchurData () |
virtual SmartPtr< SchurData > | MakeNewSchurDataCopy () const |
virtual Index | GetNRowsAdded () const |
| Returns number of rows/columns in schur matrix.
|
virtual void | SetData_Flag (Index dim, const Index *flags, Number v=1.0) |
| Functions to set the Schurdata.
|
virtual void | SetData_Flag (Index dim, const Index *flags, const Number *values) |
| Set Data to corresponing Number.
|
virtual Index | SetData_Index (Index dim, const Index *index, Number v=1.0) |
virtual void | SetData_List (const std::vector< Index > &list, Number v=1.0) |
virtual void | GetRow (Index i, IteratesVector &v) const |
| Returns the i-th column vector of the matrix.
|
virtual void | GetMultiplyingVectors (Index i, std::vector< Index > &indices, std::vector< Number > &factors) const |
| Returns two vectors that are needed for matrix-vector multiplication of B and P.
|
virtual void | Multiply (const IteratesVector &v, Vector &u) const |
| Computes B*v with B in R(mxn)
|
virtual void | TransMultiply (const Vector &u, IteratesVector &v) const |
| Computes A*u with A in R(nxm), KKT in R(n,n)
|
virtual void | PrintImpl (const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const |
void | AddData_Flag (Index dim, Index *flags, std::vector< Index > &delta_u_sort, Index v) |
| Functions specific to IndexSchurData.
|
void | AddData_List (std::vector< Index > cols, std::vector< Index > &delta_u_sort, Index &new_du_size, Index v) |
const std::vector< Index > * | GetColIndices () const |
| SchurData () |
| This interface serves as a reference point for multiple classes that need to use SchurData (PCalculator, SchurDriver).
|
virtual | ~SchurData () |
virtual bool | Is_Initialized () const |
void | Print (const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent=0, const std::string &prefix="") const |
void | Print (SmartPtr< const Journalist > jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const |
| ReferencedObject () |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Definition at line 15 of file SensIndexSchurData.hpp.
virtual void Ipopt::IndexSchurData::GetMultiplyingVectors |
( |
Index |
row, |
|
|
std::vector< Index > & |
indices, |
|
|
std::vector< Number > & |
factors |
|
) |
| const |
|
virtual |
Returns two vectors that are needed for matrix-vector multiplication of B and P.
The index is the row, the first vector are the indices of non-zero components, in this row of B, the second vector gives the numbers in B(row,indices)
Implements Ipopt::SchurData.