#include <IpDenseVector.hpp>
Inheritance diagram for Ipopt::DenseVectorSpace:
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. |
Definition at line 258 of file IpDenseVector.hpp.
Ipopt::DenseVectorSpace::DenseVectorSpace | ( | Index | dim | ) | [inline] |
Constructor, requires dimension of all vector for this VectorSpace.
Definition at line 266 of file IpDenseVector.hpp.
Ipopt::DenseVectorSpace::~DenseVectorSpace | ( | ) | [inline] |
DenseVector* Ipopt::DenseVectorSpace::MakeNewDenseVector | ( | ) | const [inline] |
Method for creating a new vector of this specific type.
Definition at line 277 of file IpDenseVector.hpp.
Referenced by MakeNew(), and Ipopt::DenseVector::MakeNewDenseVector().
virtual Vector* Ipopt::DenseVectorSpace::MakeNew | ( | ) | const [inline, virtual] |
Instantiation of the generate MakeNew method for the VectorSpace base class.
Implements Ipopt::VectorSpace.
Definition at line 285 of file IpDenseVector.hpp.
References MakeNewDenseVector().
Number * Ipopt::DenseVectorSpace::AllocateInternalStorage | ( | ) | const [inline] |
Allocate internal storage for the DenseVector.
Definition at line 336 of file IpDenseVector.hpp.
References Ipopt::VectorSpace::Dim().
Referenced by Ipopt::DenseVector::values_allocated().
void Ipopt::DenseVectorSpace::FreeInternalStorage | ( | Number * | values | ) | const [inline] |