| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
DiscreteValueVect
A container class for storing unsigned integer values within a particular range. The length of the vector and type of its elements (determines the maxium value that can be stored) are both set at construction time. As you would expect, _DiscreteValueVects_ support a set of binary operations so you can do things like: dvv3 = dvv1 & dvv2 the result contains the smallest value in each entry dvv3 = dvv1 | dvv2 the result contains the largest value in each entry dvv1 += dvv2 values are truncated when necessary dvv3 = dvv1 + dvv2 values are truncated when necessary dvv1 -= dvv3 would-be negative values are set to zero dvv3 = dvv1 - dvv2 would-be negative values are set to zero Elements can be set and read using indexing (i.e. bv[i] = 4 or val=bv[i])
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
__instance_size__ = 56
|
|||
__safe_for_unpickling__ = True
|
|||
|
|||
GetTotalVal( (DiscreteValueVect)arg1) -> int :
Get the sum of the values in the vector, basically L1 norm
C++ signature :
unsigned int GetTotalVal(RDKit::DiscreteValueVect {lvalue})
|
GetValueType( (DiscreteValueVect)arg1) -> DiscreteValueType :
Get the type of value stored in the vector
C++ signature :
RDKit::DiscreteValueVect::DiscreteValueType GetValueType(RDKit::DiscreteValueVect {lvalue})
|
__add__( (DiscreteValueVect)arg1, (DiscreteValueVect)arg2) -> object :
C++ signature :
_object* __add__(RDKit::DiscreteValueVect {lvalue},RDKit::DiscreteValueVect)
|
__and__( (DiscreteValueVect)arg1, (DiscreteValueVect)arg2) -> object :
C++ signature :
_object* __and__(RDKit::DiscreteValueVect {lvalue},RDKit::DiscreteValueVect)
|
__getinitargs__( (DiscreteValueVect)arg1) -> tuple :
C++ signature :
boost::python::tuple __getinitargs__(RDKit::DiscreteValueVect)
|
__getitem__( (DiscreteValueVect)arg1, (int)arg2) -> int :
Get the value at a specified location
C++ signature :
unsigned int __getitem__(RDKit::DiscreteValueVect {lvalue},unsigned int)
|
__iadd__( (object)arg1, (DiscreteValueVect)arg2) -> object :
C++ signature :
_object* __iadd__(boost::python::back_reference<RDKit::DiscreteValueVect&>,RDKit::DiscreteValueVect)
|
__init__( (object)arg1, (DiscreteValueType)arg2, (int)arg3) -> None :
Constructor
C++ signature :
void __init__(_object*,RDKit::DiscreteValueVect::DiscreteValueType,unsigned int)
__init__( (object)arg1, (str)arg2) -> None :
C++ signature :
void __init__(_object*,std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
|
__isub__( (object)arg1, (DiscreteValueVect)arg2) -> object :
C++ signature :
_object* __isub__(boost::python::back_reference<RDKit::DiscreteValueVect&>,RDKit::DiscreteValueVect)
|
__len__( (DiscreteValueVect)arg1) -> int :
Get the number of entries in the vector
C++ signature :
unsigned int __len__(RDKit::DiscreteValueVect {lvalue})
|
__or__( (DiscreteValueVect)arg1, (DiscreteValueVect)arg2) -> object :
C++ signature :
_object* __or__(RDKit::DiscreteValueVect {lvalue},RDKit::DiscreteValueVect)
|
|
__setitem__( (DiscreteValueVect)arg1, (int)arg2, (int)arg3) -> None :
Set the value at a specified location
C++ signature :
void __setitem__(RDKit::DiscreteValueVect {lvalue},unsigned int,unsigned int)
|
__sub__( (DiscreteValueVect)arg1, (DiscreteValueVect)arg2) -> object :
C++ signature :
_object* __sub__(RDKit::DiscreteValueVect {lvalue},RDKit::DiscreteValueVect)
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |