Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | UIntSparseIntVect
A container class for storing integer values within a particular range. The length of the vector is set at construction time. As you would expect, _SparseIntVects_ support a set of binary operations so you can do things like: Arithmetic: siv1 += siv2 siv3 = siv1 + siv2 siv1 -= siv3 siv3 = siv1 - siv2 "Fuzzy" binary operations: siv3 = siv1 & siv2 the result contains the smallest value in each entry siv3 = siv1 | siv2 the result contains the largest value in each entry Elements can be set and read using indexing (i.e. siv[i] = 4 or val=siv[i])
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
__instance_size__ = 32
|
|||
__safe_for_unpickling__ = True
|
|
|||
Inherited from |
|
GetLength( (UIntSparseIntVect)arg1) -> int : Returns the length of the vector C++ signature : unsigned int GetLength(RDKit::SparseIntVect<unsigned int> {lvalue}) |
GetNonzeroElements( (UIntSparseIntVect)arg1) -> dict : returns a dictionary of the nonzero elements C++ signature : boost::python::dict GetNonzeroElements(RDKit::SparseIntVect<unsigned int> {lvalue}) |
GetTotalVal( (UIntSparseIntVect)arg1 [, (bool)useAbs=False]) -> int : Get the sum of the values in the vector, basically L1 norm C++ signature : int GetTotalVal(RDKit::SparseIntVect<unsigned int> {lvalue} [,bool=False]) |
ToBinary( (UIntSparseIntVect)arg1) -> object : returns a binary (pickle) representation of the vector C++ signature : boost::python::api::object ToBinary(RDKit::SparseIntVect<unsigned int>) |
UpdateFromSequence( (UIntSparseIntVect)arg1, (AtomPairsParameters)arg2) -> None : update the vector based on the values in the list or tuple C++ signature : void UpdateFromSequence(RDKit::SparseIntVect<unsigned int> {lvalue},boost::python::api::object {lvalue}) |
__add__( (UIntSparseIntVect)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __add__(RDKit::SparseIntVect<unsigned int> {lvalue},RDKit::SparseIntVect<unsigned int>) |
__and__( (UIntSparseIntVect)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __and__(RDKit::SparseIntVect<unsigned int> {lvalue},RDKit::SparseIntVect<unsigned int>) |
__eq__( (UIntSparseIntVect)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __eq__(RDKit::SparseIntVect<unsigned int> {lvalue},RDKit::SparseIntVect<unsigned int>) |
__getinitargs__( (UIntSparseIntVect)arg1) -> tuple : C++ signature : boost::python::tuple __getinitargs__(RDKit::SparseIntVect<unsigned int>) |
__getitem__( (UIntSparseIntVect)arg1, (int)arg2) -> int : Get the value at a specified location C++ signature : int __getitem__(RDKit::SparseIntVect<unsigned int> {lvalue},unsigned int) |
__iadd__( (object)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __iadd__(boost::python::back_reference<RDKit::SparseIntVect<unsigned int>&>,RDKit::SparseIntVect<unsigned int>) __iadd__( (object)arg1, (int)arg2) -> object : C++ signature : _object* __iadd__(boost::python::back_reference<RDKit::SparseIntVect<unsigned int>&>,int) |
__idiv__( (object)arg1, (int)arg2) -> object : C++ signature : _object* __idiv__(boost::python::back_reference<RDKit::SparseIntVect<unsigned int>&>,int) |
__imul__( (object)arg1, (int)arg2) -> object : C++ signature : _object* __imul__(boost::python::back_reference<RDKit::SparseIntVect<unsigned int>&>,int) |
__init__( (object)arg1, (int)arg2) -> None : Constructor C++ signature : void __init__(_object*,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, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __isub__(boost::python::back_reference<RDKit::SparseIntVect<unsigned int>&>,RDKit::SparseIntVect<unsigned int>) __isub__( (object)arg1, (int)arg2) -> object : C++ signature : _object* __isub__(boost::python::back_reference<RDKit::SparseIntVect<unsigned int>&>,int) |
__ne__( (UIntSparseIntVect)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __ne__(RDKit::SparseIntVect<unsigned int> {lvalue},RDKit::SparseIntVect<unsigned int>) |
__or__( (UIntSparseIntVect)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __or__(RDKit::SparseIntVect<unsigned int> {lvalue},RDKit::SparseIntVect<unsigned int>) |
helper for pickle
|
__setitem__( (UIntSparseIntVect)arg1, (int)arg2, (int)arg3) -> None : Set the value at a specified location C++ signature : void __setitem__(RDKit::SparseIntVect<unsigned int> {lvalue},unsigned int,int) |
__sub__( (UIntSparseIntVect)arg1, (UIntSparseIntVect)arg2) -> object : C++ signature : _object* __sub__(RDKit::SparseIntVect<unsigned int> {lvalue},RDKit::SparseIntVect<unsigned int>) |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 25 09:14:53 2016 | http://epydoc.sourceforge.net |