Skylark (Sketching Library)  0.1
Public Types | Public Member Functions | Public Attributes
FullyDistMultiVec< IndexType, ValueType > Struct Template Reference

#include <FullyDistMultiVec.hpp>

List of all members.

Public Types

typedef IndexType index_t
typedef ValueType value_t
typedef FullyDistVec
< IndexType, ValueType > 
mpi_vector_t
typedef std::vector
< mpi_vector_t * > 
container_t

Public Member Functions

void clear ()
 FullyDistMultiVec (const FullyDistMultiVec &other)
 FullyDistMultiVec (index_t dim, index_t size, value_t init_val=0.0)
mpi_vector_toperator[] (index_t i)
mpi_vector_toperator[] (index_t i) const
void operator= (const FullyDistMultiVec &other)

Public Attributes

index_t dim
index_t size
container_t multi_vec_container

Detailed Description

template<typename IndexType, typename ValueType>
struct FullyDistMultiVec< IndexType, ValueType >

Definition at line 7 of file FullyDistMultiVec.hpp.


Member Typedef Documentation

template<typename IndexType, typename ValueType>
typedef std::vector<mpi_vector_t*> FullyDistMultiVec< IndexType, ValueType >::container_t

Definition at line 11 of file FullyDistMultiVec.hpp.

template<typename IndexType, typename ValueType>
typedef IndexType FullyDistMultiVec< IndexType, ValueType >::index_t

Definition at line 8 of file FullyDistMultiVec.hpp.

template<typename IndexType, typename ValueType>
typedef FullyDistVec<IndexType, ValueType> FullyDistMultiVec< IndexType, ValueType >::mpi_vector_t

Definition at line 10 of file FullyDistMultiVec.hpp.

template<typename IndexType, typename ValueType>
typedef ValueType FullyDistMultiVec< IndexType, ValueType >::value_t

Definition at line 9 of file FullyDistMultiVec.hpp.


Constructor & Destructor Documentation

template<typename IndexType, typename ValueType>
FullyDistMultiVec< IndexType, ValueType >::FullyDistMultiVec ( const FullyDistMultiVec< IndexType, ValueType > &  other) [inline]
template<typename IndexType, typename ValueType>
FullyDistMultiVec< IndexType, ValueType >::FullyDistMultiVec ( index_t  dim,
index_t  size,
value_t  init_val = 0.0 
) [inline]

Construct a multi-vector with N vectors of length M and init-val

Definition at line 32 of file FullyDistMultiVec.hpp.

References FullyDistMultiVec< IndexType, ValueType >::multi_vec_container, and FullyDistMultiVec< IndexType, ValueType >::size.


Member Function Documentation

template<typename IndexType, typename ValueType>
void FullyDistMultiVec< IndexType, ValueType >::clear ( ) [inline]
template<typename IndexType, typename ValueType>
void FullyDistMultiVec< IndexType, ValueType >::operator= ( const FullyDistMultiVec< IndexType, ValueType > &  other) [inline]
template<typename IndexType, typename ValueType>
mpi_vector_t& FullyDistMultiVec< IndexType, ValueType >::operator[] ( index_t  i) [inline]
template<typename IndexType, typename ValueType>
mpi_vector_t& FullyDistMultiVec< IndexType, ValueType >::operator[] ( index_t  i) const [inline]

Member Data Documentation

template<typename IndexType, typename ValueType>
index_t FullyDistMultiVec< IndexType, ValueType >::dim
template<typename IndexType, typename ValueType>
container_t FullyDistMultiVec< IndexType, ValueType >::multi_vec_container
template<typename IndexType, typename ValueType>
index_t FullyDistMultiVec< IndexType, ValueType >::size

The documentation for this struct was generated from the following file: