|
MPQC
3.0.0-alpha
|
A range of a space where all objects in the subspace range are assumed to have the same space rank. More...
#include <mpqc/ci/subspace.hpp>
Public Types | |
| typedef ci::Space< Spin > | Space |
Public Types inherited from mpqc::range | |
| typedef boost::iterator_range< boost::range_detail::integer_iterator< int64_t > > | iterator_range |
Public Member Functions | |
| Subspace (Space s, mpqc::range r) | |
| Constructs subspace. More... | |
| bool | operator== (const Subspace &a) const |
| Compares two subspaces by their range and space. | |
| bool | test (int idx) const |
| test if index is in subspace range | |
| std::vector< Subspace > | split (size_t block) const |
| Split the subspace into a vector of subspaces. | |
Public Member Functions inherited from mpqc::ci::Space< Spin > | |
| Space (int rank) | |
| int | rank () const |
| bool | operator== (const Space &s) const |
Public Member Functions inherited from mpqc::range | |
| range (int64_t size=0) | |
| range (int64_t begin, int64_t end) | |
| int64_t | size () const |
| bool | test (int64_t value) const |
A range of a space where all objects in the subspace range are assumed to have the same space rank.
|
inline |
Constructs subspace.
Referenced by mpqc::ci::Subspace< mpqc::ci::Spin >::split().