Package paramz :: Package core :: Module index_operations :: Class ParameterIndexOperationsView
[hide private]
[frames] | no frames]

Class ParameterIndexOperationsView

source code


Instance Methods [hide private]
 
__init__(self, param_index_operations, offset, size)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__getstate__(self) source code
 
__setstate__(self, state) source code
 
_filter_index(self, ind) source code
 
items(self) source code
 
properties(self) source code
 
indices(self) source code
 
shift_right(self, start, size) source code
 
shift_left(self, start, size) source code
 
clear(self) source code
 
properties_for(self, index)
Returns a list of properties, such that each entry in the list corresponds to the element of the index given.
source code
 
properties_dict_for(self, index)
Return a dictionary, containing properties as keys and indices as index Thus, the indices for each constraint, which is contained will be collected as one dictionary
source code
 
add(self, prop, indices) source code
 
remove(self, prop, indices) source code
 
__getitem__(self, prop) source code
 
__delitem__(self, prop) source code
 
__str__(self, *args, **kwargs)
str(x)
source code
 
update(self, parameter_index_view, offset=0) source code
 
copy(self) source code
 
__deepcopy__(self, memo) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  size

Inherited from object: __class__

Method Details [hide private]

__init__(self, param_index_operations, offset, size)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

properties_for(self, index)

source code 

Returns a list of properties, such that each entry in the list corresponds to the element of the index given.

Example: let properties: 'one':[1,2,3,4], 'two':[3,5,6]

>>> properties_for([2,3,5])
[['one'], ['one', 'two'], ['two']]

properties_dict_for(self, index)

source code 

Return a dictionary, containing properties as keys and indices as index Thus, the indices for each constraint, which is contained will be collected as one dictionary

Example: let properties: 'one':[1,2,3,4], 'two':[3,5,6]

>>> property_dict_for([2,3,5])
{'one':[2,3], 'two':[3,5]}

__str__(self, *args, **kwargs)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

size

Get Method:
unreachable.size(self)