CONOPT
Loading...
Searching...
No Matches
pyconopt.DoubleVector Class Reference

Proxy of C++ std::vector< double > class. More...

Public Member Functions

 iterator (self)
 iterator(DoubleVector self) -> SwigPyIterator
 
 __iter__ (self)
 
 __nonzero__ (self)
 nonzero(DoubleVector self) -> bool
 
 __bool__ (self)
 bool(DoubleVector self) -> bool
 
 __len__ (self)
 len(DoubleVector self) -> std::vector< double >::size_type
 
 __getslice__ (self, i, j)
 getslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DoubleVector
 
 __setslice__ (self, *args)
 setslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
 
 __delslice__ (self, i, j)
 delslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)
 
 __delitem__ (self, *args)
 delitem(DoubleVector self, std::vector< double >::difference_type i)
 
 __getitem__ (self, *args)
 getitem(DoubleVector self, SWIGPY_SLICEOBJECT * slice) -> DoubleVector
 
 __setitem__ (self, *args)
 setitem(DoubleVector self, SWIGPY_SLICEOBJECT * slice, DoubleVector v)
 
 pop (self)
 pop(DoubleVector self) -> std::vector< double >::value_type
 
 append (self, x)
 append(DoubleVector self, std::vector< double >::value_type const & x)
 
 empty (self)
 empty(DoubleVector self) -> bool
 
 size (self)
 size(DoubleVector self) -> std::vector< double >::size_type
 
 swap (self, v)
 swap(DoubleVector self, DoubleVector v)
 
 begin (self)
 begin(DoubleVector self) -> std::vector< double >::iterator
 
 end (self)
 end(DoubleVector self) -> std::vector< double >::iterator
 
 rbegin (self)
 rbegin(DoubleVector self) -> std::vector< double >::reverse_iterator
 
 rend (self)
 rend(DoubleVector self) -> std::vector< double >::reverse_iterator
 
 clear (self)
 clear(DoubleVector self)
 
 get_allocator (self)
 get_allocator(DoubleVector self) -> std::vector< double >::allocator_type
 
 pop_back (self)
 pop_back(DoubleVector self)
 
 erase (self, *args)
 erase(DoubleVector self, std::vector< double >::iterator pos) -> std::vector< double >::iterator
 
 __init__ (self, *args)
 init(DoubleVector self) -> DoubleVector init(DoubleVector self, DoubleVector other) -> DoubleVector
 
 push_back (self, x)
 push_back(DoubleVector self, std::vector< double >::value_type const & x)
 
 front (self)
 front(DoubleVector self) -> std::vector< double >::value_type const &
 
 back (self)
 back(DoubleVector self) -> std::vector< double >::value_type const &
 
 assign (self, n, x)
 assign(DoubleVector self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)
 
 resize (self, *args)
 resize(DoubleVector self, std::vector< double >::size_type new_size)
 
 insert (self, *args)
 insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator
 
 reserve (self, n)
 reserve(DoubleVector self, std::vector< double >::size_type n)
 
 capacity (self)
 capacity(DoubleVector self) -> std::vector< double >::size_type
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Proxy of C++ std::vector< double > class.

Definition at line 546 of file pyconopt.py.

Constructor & Destructor Documentation

◆ __init__()

pyconopt.DoubleVector.__init__ ( self,
* args )

init(DoubleVector self) -> DoubleVector init(DoubleVector self, DoubleVector other) -> DoubleVector

Parameters

other: std::vector< double > const &

init(DoubleVector self, std::vector< double >::size_type size) -> DoubleVector

Parameters

size: std::vector< double >::size_type

init(DoubleVector self, std::vector< double >::size_type size, std::vector< double >::value_type const & value) -> DoubleVector

Parameters

size: std::vector< double >::size_type value: std::vector< double >::value_type const &

Definition at line 753 of file pyconopt.py.

Member Function Documentation

◆ iterator()

pyconopt.DoubleVector.iterator ( self)

iterator(DoubleVector self) -> SwigPyIterator

Definition at line 552 of file pyconopt.py.

◆ __iter__()

pyconopt.DoubleVector.__iter__ ( self)

Definition at line 555 of file pyconopt.py.

◆ __nonzero__()

pyconopt.DoubleVector.__nonzero__ ( self)

nonzero(DoubleVector self) -> bool

Definition at line 558 of file pyconopt.py.

◆ __bool__()

pyconopt.DoubleVector.__bool__ ( self)

bool(DoubleVector self) -> bool

Definition at line 562 of file pyconopt.py.

◆ __len__()

pyconopt.DoubleVector.__len__ ( self)

len(DoubleVector self) -> std::vector< double >::size_type

Definition at line 566 of file pyconopt.py.

◆ __getslice__()

pyconopt.DoubleVector.__getslice__ ( self,
i,
j )

getslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> DoubleVector

Parameters

i: std::vector< double >::difference_type j: std::vector< double >::difference_type

Definition at line 570 of file pyconopt.py.

◆ __setslice__()

pyconopt.DoubleVector.__setslice__ ( self,
* args )

setslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)

Parameters

i: std::vector< double >::difference_type j: std::vector< double >::difference_type

setslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, DoubleVector v)

Parameters

i: std::vector< double >::difference_type j: std::vector< double >::difference_type v: std::vector< double,std::allocator< double > > const &

Definition at line 582 of file pyconopt.py.

◆ __delslice__()

pyconopt.DoubleVector.__delslice__ ( self,
i,
j )

delslice(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)

Parameters

i: std::vector< double >::difference_type j: std::vector< double >::difference_type

Definition at line 602 of file pyconopt.py.

◆ __delitem__()

pyconopt.DoubleVector.__delitem__ ( self,
* args )

delitem(DoubleVector self, std::vector< double >::difference_type i)

Parameters

i: std::vector< double >::difference_type

delitem(DoubleVector self, SWIGPY_SLICEOBJECT * slice)

Parameters

slice: SWIGPY_SLICEOBJECT *

Definition at line 614 of file pyconopt.py.

◆ __getitem__()

pyconopt.DoubleVector.__getitem__ ( self,
* args )

getitem(DoubleVector self, SWIGPY_SLICEOBJECT * slice) -> DoubleVector

Parameters

slice: SWIGPY_SLICEOBJECT *

getitem(DoubleVector self, std::vector< double >::difference_type i) -> std::vector< double >::value_type const &

Parameters

i: std::vector< double >::difference_type

Definition at line 631 of file pyconopt.py.

◆ __setitem__()

pyconopt.DoubleVector.__setitem__ ( self,
* args )

setitem(DoubleVector self, SWIGPY_SLICEOBJECT * slice, DoubleVector v)

Parameters

slice: SWIGPY_SLICEOBJECT * v: std::vector< double,std::allocator< double > > const &

setitem(DoubleVector self, SWIGPY_SLICEOBJECT * slice)

Parameters

slice: SWIGPY_SLICEOBJECT *

setitem(DoubleVector self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)

Parameters

i: std::vector< double >::difference_type x: std::vector< double >::value_type const &

Definition at line 648 of file pyconopt.py.

◆ pop()

pyconopt.DoubleVector.pop ( self)

pop(DoubleVector self) -> std::vector< double >::value_type

Definition at line 673 of file pyconopt.py.

◆ append()

pyconopt.DoubleVector.append ( self,
x )

append(DoubleVector self, std::vector< double >::value_type const & x)

Parameters

x: std::vector< double >::value_type const &

Definition at line 677 of file pyconopt.py.

◆ empty()

pyconopt.DoubleVector.empty ( self)

empty(DoubleVector self) -> bool

Definition at line 688 of file pyconopt.py.

◆ size()

pyconopt.DoubleVector.size ( self)

size(DoubleVector self) -> std::vector< double >::size_type

Definition at line 692 of file pyconopt.py.

◆ swap()

pyconopt.DoubleVector.swap ( self,
v )

swap(DoubleVector self, DoubleVector v)

Parameters

v: std::vector< double > &

Definition at line 696 of file pyconopt.py.

◆ begin()

pyconopt.DoubleVector.begin ( self)

begin(DoubleVector self) -> std::vector< double >::iterator

Definition at line 707 of file pyconopt.py.

◆ end()

pyconopt.DoubleVector.end ( self)

end(DoubleVector self) -> std::vector< double >::iterator

Definition at line 711 of file pyconopt.py.

◆ rbegin()

pyconopt.DoubleVector.rbegin ( self)

rbegin(DoubleVector self) -> std::vector< double >::reverse_iterator

Definition at line 715 of file pyconopt.py.

◆ rend()

pyconopt.DoubleVector.rend ( self)

rend(DoubleVector self) -> std::vector< double >::reverse_iterator

Definition at line 719 of file pyconopt.py.

◆ clear()

pyconopt.DoubleVector.clear ( self)

clear(DoubleVector self)

Definition at line 723 of file pyconopt.py.

◆ get_allocator()

pyconopt.DoubleVector.get_allocator ( self)

get_allocator(DoubleVector self) -> std::vector< double >::allocator_type

Definition at line 727 of file pyconopt.py.

◆ pop_back()

pyconopt.DoubleVector.pop_back ( self)

pop_back(DoubleVector self)

Definition at line 731 of file pyconopt.py.

◆ erase()

pyconopt.DoubleVector.erase ( self,
* args )

erase(DoubleVector self, std::vector< double >::iterator pos) -> std::vector< double >::iterator

Parameters

pos: std::vector< double >::iterator

erase(DoubleVector self, std::vector< double >::iterator first, std::vector< double >::iterator last) -> std::vector< double >::iterator

Parameters

first: std::vector< double >::iterator last: std::vector< double >::iterator

Definition at line 735 of file pyconopt.py.

◆ push_back()

pyconopt.DoubleVector.push_back ( self,
x )

push_back(DoubleVector self, std::vector< double >::value_type const & x)

Parameters

x: std::vector< double >::value_type const &

Definition at line 778 of file pyconopt.py.

◆ front()

pyconopt.DoubleVector.front ( self)

front(DoubleVector self) -> std::vector< double >::value_type const &

Definition at line 789 of file pyconopt.py.

◆ back()

pyconopt.DoubleVector.back ( self)

back(DoubleVector self) -> std::vector< double >::value_type const &

Definition at line 793 of file pyconopt.py.

◆ assign()

pyconopt.DoubleVector.assign ( self,
n,
x )

assign(DoubleVector self, std::vector< double >::size_type n, std::vector< double >::value_type const & x)

Parameters

n: std::vector< double >::size_type x: std::vector< double >::value_type const &

Definition at line 797 of file pyconopt.py.

◆ resize()

pyconopt.DoubleVector.resize ( self,
* args )

resize(DoubleVector self, std::vector< double >::size_type new_size)

Parameters

new_size: std::vector< double >::size_type

resize(DoubleVector self, std::vector< double >::size_type new_size, std::vector< double >::value_type const & x)

Parameters

new_size: std::vector< double >::size_type x: std::vector< double >::value_type const &

Definition at line 809 of file pyconopt.py.

◆ insert()

pyconopt.DoubleVector.insert ( self,
* args )

insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::value_type const & x) -> std::vector< double >::iterator

Parameters

pos: std::vector< double >::iterator x: std::vector< double >::value_type const &

insert(DoubleVector self, std::vector< double >::iterator pos, std::vector< double >::size_type n, std::vector< double >::value_type const & x)

Parameters

pos: std::vector< double >::iterator n: std::vector< double >::size_type x: std::vector< double >::value_type const &

Definition at line 827 of file pyconopt.py.

◆ reserve()

pyconopt.DoubleVector.reserve ( self,
n )

reserve(DoubleVector self, std::vector< double >::size_type n)

Parameters

n: std::vector< double >::size_type

Definition at line 847 of file pyconopt.py.

◆ capacity()

pyconopt.DoubleVector.capacity ( self)

capacity(DoubleVector self) -> std::vector< double >::size_type

Definition at line 858 of file pyconopt.py.

Property Documentation

◆ thisown

pyconopt.DoubleVector.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 549 of file pyconopt.py.


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