This vectors space is the vector space for DenseVector. More...
#include <IpDenseVector.hpp>
Public Member Functions | |
Constructors/Destructors. | |
DenseVectorSpace (Index dim) | |
Constructor, requires dimension of all vector for this VectorSpace. More... | |
~DenseVectorSpace () | |
Destructor. More... | |
DenseVector * | MakeNewDenseVector () const |
Method for creating a new vector of this specific type. More... | |
virtual Vector * | MakeNew () const |
Pure virtual method for creating a new Vector of the corresponding type. More... | |
Methods called by DenseVector for memory management. | |
This could allow to have sophisticated memory management in the VectorSpace. | |
Number * | AllocateInternalStorage () const |
Allocate internal storage for the DenseVector. More... | |
void | FreeInternalStorage (Number *values) const |
Deallocate internal storage for the DenseVector. More... | |
![]() | |
VectorSpace (Index dim) | |
Constructor, given the dimension of all vectors generated by this VectorSpace. More... | |
virtual | ~VectorSpace () |
Destructor. More... | |
Index | Dim () const |
Accessor function for the dimension of the vectors of this type. More... | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Methods for dealing with meta data on the vector | |
StringMetaDataMapType | string_meta_data_ |
IntegerMetaDataMapType | integer_meta_data_ |
NumericMetaDataMapType | numeric_meta_data_ |
bool | HasStringMetaData (const std::string tag) const |
Check if string meta exists for tag. More... | |
bool | HasIntegerMetaData (const std::string tag) const |
Check if Integer meta exists for tag. More... | |
bool | HasNumericMetaData (const std::string tag) const |
Check if Numeric meta exists for tag. More... | |
const std::vector< std::string > & | GetStringMetaData (const std::string &tag) const |
Get meta data of type std::string by tag. More... | |
const std::vector< Index > & | GetIntegerMetaData (const std::string &tag) const |
Get meta data of type Index by tag. More... | |
const std::vector< Number > & | GetNumericMetaData (const std::string &tag) const |
Get meta data of type Number by tag. More... | |
void | SetStringMetaData (std::string tag, std::vector< std::string > meta_data) |
Set meta data of type std::string by tag. More... | |
void | SetIntegerMetaData (std::string tag, std::vector< Index > meta_data) |
Set meta data of type Index by tag. More... | |
void | SetNumericMetaData (std::string tag, std::vector< Number > meta_data) |
Set meta data of type Number by tag. More... | |
const StringMetaDataMapType & | GetStringMetaData () const |
Get map of meta data of type Number. More... | |
const IntegerMetaDataMapType & | GetIntegerMetaData () const |
Get map of meta data of type Number. More... | |
const NumericMetaDataMapType & | GetNumericMetaData () const |
Get map of meta data of type Number. More... | |
This vectors space is the vector space for DenseVector.
Definition at line 329 of file IpDenseVector.hpp.
|
inline |
Constructor, requires dimension of all vector for this VectorSpace.
Definition at line 335 of file IpDenseVector.hpp.
|
inline |
Destructor.
Definition at line 342 of file IpDenseVector.hpp.
|
inline |
Method for creating a new vector of this specific type.
Definition at line 347 of file IpDenseVector.hpp.
|
inlinevirtual |
Pure virtual method for creating a new Vector of the corresponding type.
Implements Ipopt::VectorSpace.
Definition at line 352 of file IpDenseVector.hpp.
|
inline |
Allocate internal storage for the DenseVector.
Definition at line 477 of file IpDenseVector.hpp.
|
inline |
Deallocate internal storage for the DenseVector.
Definition at line 490 of file IpDenseVector.hpp.
|
inline |
Check if string meta exists for tag.
Definition at line 503 of file IpDenseVector.hpp.
|
inline |
Check if Integer meta exists for tag.
Definition at line 519 of file IpDenseVector.hpp.
|
inline |
Check if Numeric meta exists for tag.
Definition at line 535 of file IpDenseVector.hpp.
|
inline |
Get meta data of type std::string by tag.
Definition at line 550 of file IpDenseVector.hpp.
|
inline |
Get meta data of type Index by tag.
Definition at line 560 of file IpDenseVector.hpp.
|
inline |
Get meta data of type Number by tag.
Definition at line 570 of file IpDenseVector.hpp.
|
inline |
Set meta data of type std::string by tag.
Definition at line 580 of file IpDenseVector.hpp.
|
inline |
Set meta data of type Index by tag.
Definition at line 588 of file IpDenseVector.hpp.
|
inline |
Set meta data of type Number by tag.
Definition at line 596 of file IpDenseVector.hpp.
|
inline |
Get map of meta data of type Number.
Definition at line 604 of file IpDenseVector.hpp.
|
inline |
Get map of meta data of type Number.
Definition at line 609 of file IpDenseVector.hpp.
|
inline |
Get map of meta data of type Number.
Definition at line 614 of file IpDenseVector.hpp.
|
private |
Definition at line 438 of file IpDenseVector.hpp.
|
private |
Definition at line 439 of file IpDenseVector.hpp.
|
private |
Definition at line 440 of file IpDenseVector.hpp.