Ipopt  3.11.9
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
Iterate Class Reference

#include <iterate.hpp>

Public Member Functions

 Iterate (mxArray *ptr)
 
 ~Iterate ()
 
void inject (const double *x)
 
void copyto (double *x) const
 
 operator mxArray * ()
 
 operator const mxArray * () const
 

Static Public Member Functions

static int getMatlabData (const mxArray *ptr, double *&data)
 

Protected Attributes

int nv
 
mxArray * ptr
 

Friends

int numvars (const Iterate &x)
 

Detailed Description

Definition at line 31 of file iterate.hpp.

Constructor & Destructor Documentation

◆ Iterate()

Iterate::Iterate ( mxArray *  ptr)
explicit

◆ ~Iterate()

Iterate::~Iterate ( )
inline

Definition at line 42 of file iterate.hpp.

Member Function Documentation

◆ inject()

void Iterate::inject ( const double *  x)

◆ copyto()

void Iterate::copyto ( double *  x) const

◆ operator mxArray *()

Iterate::operator mxArray * ( )
inline

Definition at line 56 of file iterate.hpp.

◆ operator const mxArray *()

Iterate::operator const mxArray * ( ) const
inline

Definition at line 57 of file iterate.hpp.

◆ getMatlabData()

static int Iterate::getMatlabData ( const mxArray *  ptr,
double *&  data 
)
static

Friends And Related Function Documentation

◆ numvars

int numvars ( const Iterate x)
friend

Definition at line 45 of file iterate.hpp.

Member Data Documentation

◆ nv

int Iterate::nv
protected

Definition at line 67 of file iterate.hpp.

◆ ptr

mxArray* Iterate::ptr
protected

Definition at line 68 of file iterate.hpp.


The documentation for this class was generated from the following file: