| 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 Inherited from |
|||
|
|||
__instance_size__ = 40
|
|||
__safe_for_unpickling__ = True
|
|||
|
|||
|
Inherited from |
|||
|
|||
Get the sum of the values in the vector, basically L1 norm
C++ signature:
GetTotalVal(RDKit::DiscreteValueVect {lvalue}) -> unsigned int
|
Get the type of value stored in the vector
C++ signature:
GetValueType(RDKit::DiscreteValueVect {lvalue}) -> RDKit::DiscreteValueVect::DiscreteValueType
|
C++ signature:
__add__(RDKit::DiscreteValueVect {lvalue}, RDKit::DiscreteValueVect) -> _object*
|
C++ signature:
__and__(RDKit::DiscreteValueVect {lvalue}, RDKit::DiscreteValueVect) -> _object*
|
C++ signature: __getinitargs__(RDKit::DiscreteValueVect) -> boost::python::tuple |
Get the value at a specified location
C++ signature:
__getitem__(RDKit::DiscreteValueVect {lvalue}, unsigned int) -> unsigned int
|
C++ signature: __iadd__(boost::python::back_reference<RDKit::DiscreteValueVect&>, RDKit::DiscreteValueVect) -> _object* |
Constructor
C++ signature:
__init__(_object*, RDKit::DiscreteValueVect::DiscreteValueType, unsigned int) -> void*
C++ signature:
__init__(_object*, std::string) -> void*
|
C++ signature: __isub__(boost::python::back_reference<RDKit::DiscreteValueVect&>, RDKit::DiscreteValueVect) -> _object* |
Get the number of entries in the vector
C++ signature:
__len__(RDKit::DiscreteValueVect {lvalue}) -> unsigned int
|
C++ signature:
__or__(RDKit::DiscreteValueVect {lvalue}, RDKit::DiscreteValueVect) -> _object*
|
helper for pickle
|
Set the value at a specified location
C++ signature:
__setitem__(RDKit::DiscreteValueVect {lvalue}, unsigned int, unsigned int) -> void*
|
C++ signature:
__sub__(RDKit::DiscreteValueVect {lvalue}, RDKit::DiscreteValueVect) -> _object*
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:06 2008 | http://epydoc.sourceforge.net |