This vectors space is the vector space for DenseVector. More...
#include <IpDenseVector.hpp>
Public Member Functions | |
DenseVector * | MakeNewDenseVector () const |
Method for creating a new vector of this specific type. | |
virtual Vector * | MakeNew () const |
Instantiation of the generate MakeNew method for the VectorSpace base class. | |
Constructors/Destructors. | |
DenseVectorSpace (Index dim) | |
Constructor, requires dimension of all vector for this VectorSpace. | |
~DenseVectorSpace () | |
Destructor. | |
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. | |
void | FreeInternalStorage (Number *values) const |
Deallocate internal storage for the DenseVector. | |
Methods for dealing with meta data on the vector | |
bool | HasStringMetaData (const std::string tag) const |
Check if string meta exists for tag. | |
bool | HasIntegerMetaData (const std::string tag) const |
Check if Integer meta exists for tag. | |
bool | HasNumericMetaData (const std::string tag) const |
Check if Numeric meta exists for tag. | |
const std::vector< std::string > & | GetStringMetaData (const std::string &tag) const |
Get meta data of type std::string by tag. | |
const std::vector< Index > & | GetIntegerMetaData (const std::string &tag) const |
Get meta data of type Index by tag. | |
const std::vector< Number > & | GetNumericMetaData (const std::string &tag) const |
Get meta data of type Number by tag. | |
void | SetStringMetaData (std::string tag, std::vector< std::string > meta_data) |
Set meta data of type std::string by tag. | |
void | SetIntegerMetaData (std::string tag, std::vector< Index > meta_data) |
Set meta data of type Index by tag. | |
void | SetNumericMetaData (std::string tag, std::vector< Number > meta_data) |
Set meta data of type Number by tag. | |
const StringMetaDataMapType & | GetStringMetaData () const |
Get map of meta data of type Number. | |
const IntegerMetaDataMapType & | GetIntegerMetaData () const |
Get map of meta data of type Number. | |
const NumericMetaDataMapType & | GetNumericMetaData () const |
Get map of meta data of type Number. | |
![]() | |
Index | Dim () const |
Accessor function for the dimension of the vectors of this type. | |
VectorSpace (Index dim) | |
Constructor, given the dimension of all vectors generated by this VectorSpace. | |
virtual | ~VectorSpace () |
Destructor. | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Private Attributes | |
StringMetaDataMapType | string_meta_data_ |
IntegerMetaDataMapType | integer_meta_data_ |
NumericMetaDataMapType | numeric_meta_data_ |
This vectors space is the vector space for DenseVector.
Definition at line 284 of file IpDenseVector.hpp.
|
inline |
Constructor, requires dimension of all vector for this VectorSpace.
Definition at line 292 of file IpDenseVector.hpp.
|
inline |
Destructor.
Definition at line 298 of file IpDenseVector.hpp.
|
inline |
Method for creating a new vector of this specific type.
Definition at line 303 of file IpDenseVector.hpp.
|
inlinevirtual |
Instantiation of the generate MakeNew method for the VectorSpace base class.
Implements Ipopt::VectorSpace.
Definition at line 311 of file IpDenseVector.hpp.
|
inline |
Allocate internal storage for the DenseVector.
Definition at line 409 of file IpDenseVector.hpp.
|
inline |
Deallocate internal storage for the DenseVector.
Definition at line 420 of file IpDenseVector.hpp.
|
inline |
Check if string meta exists for tag.
Definition at line 432 of file IpDenseVector.hpp.
|
inline |
Check if Integer meta exists for tag.
Definition at line 445 of file IpDenseVector.hpp.
|
inline |
Check if Numeric meta exists for tag.
Definition at line 458 of file IpDenseVector.hpp.
|
inline |
Get meta data of type std::string by tag.
Definition at line 471 of file IpDenseVector.hpp.
|
inline |
Get meta data of type Index by tag.
Definition at line 480 of file IpDenseVector.hpp.
|
inline |
Get meta data of type Number by tag.
Definition at line 489 of file IpDenseVector.hpp.
|
inline |
Set meta data of type std::string by tag.
Definition at line 498 of file IpDenseVector.hpp.
|
inline |
Set meta data of type Index by tag.
Definition at line 504 of file IpDenseVector.hpp.
|
inline |
Set meta data of type Number by tag.
Definition at line 510 of file IpDenseVector.hpp.
|
inline |
Get map of meta data of type Number.
Definition at line 516 of file IpDenseVector.hpp.
|
inline |
Get map of meta data of type Number.
Definition at line 522 of file IpDenseVector.hpp.
|
inline |
Get map of meta data of type Number.
Definition at line 528 of file IpDenseVector.hpp.
|
private |
Definition at line 370 of file IpDenseVector.hpp.
|
private |
Definition at line 371 of file IpDenseVector.hpp.
|
private |
Definition at line 372 of file IpDenseVector.hpp.