Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
|
Base class for storage types. More...
#include <Storage.h>
Public Types | |
typedef StorageTraits< DERIVED > ::size_type | size_type |
typedef StorageTraits< DERIVED > ::MeritValue | MeritValue |
typedef StorageTraits< DERIVED > ::SizeParam | SizeParam |
typedef StorageTraits< DERIVED > ::Unpermute | Unpermute |
typedef StorageTraits< DERIVED > ::Stride | Stride |
Public Member Functions | |
BasicStorage (SizeParam sizeParam) | |
size_type | virtualSize () const |
size_type | size () const |
const SizeParam & | sizeParam () const |
bool | symmetric () const |
bool | operator== (const BasicStorage &other) const |
bool | operator!= (const BasicStorage &other) const |
MeritValue | createMeritValue (Real value) const |
template<class V > | |
boost::numeric::ublas::vector_indirect < V, IndexMap< Unpermute > > | unpermuted (boost::numeric::ublas::vector_container< V > &vec) const |
Returns a vector proxy to access the vector's elements in their natural order. | |
template<class V > | |
boost::numeric::ublas::vector_indirect < const V, IndexMap< Stride > > | strided (const boost::numeric::ublas::vector_container< V > &vec, size_type stride) const |
Returns a vector proxy to access the vector's elements with a periodic jump of stride across the elements. | |
Static Public Member Functions | |
static std::string | name () |
Protected Types | |
typedef StorageTraits< DERIVED > ::Compress | Compress |
Protected Member Functions | |
BasicStorage (const BasicStorage &)=default | |
Base class for storage types.
DERIVED | Concrete storage type. |