Skylark (Sketching Library)
0.1
|
#include <FullyDistMultiVec.hpp>
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_t & | operator[] (index_t i) |
mpi_vector_t & | operator[] (index_t i) const |
void | operator= (const FullyDistMultiVec &other) |
Public Attributes | |
index_t | dim |
index_t | size |
container_t | multi_vec_container |
Definition at line 7 of file FullyDistMultiVec.hpp.
typedef std::vector<mpi_vector_t*> FullyDistMultiVec< IndexType, ValueType >::container_t |
Definition at line 11 of file FullyDistMultiVec.hpp.
typedef IndexType FullyDistMultiVec< IndexType, ValueType >::index_t |
Definition at line 8 of file FullyDistMultiVec.hpp.
typedef FullyDistVec<IndexType, ValueType> FullyDistMultiVec< IndexType, ValueType >::mpi_vector_t |
Definition at line 10 of file FullyDistMultiVec.hpp.
typedef ValueType FullyDistMultiVec< IndexType, ValueType >::value_t |
Definition at line 9 of file FullyDistMultiVec.hpp.
FullyDistMultiVec< IndexType, ValueType >::FullyDistMultiVec | ( | const FullyDistMultiVec< IndexType, ValueType > & | other | ) | [inline] |
Definition at line 23 of file FullyDistMultiVec.hpp.
References FullyDistMultiVec< IndexType, ValueType >::multi_vec_container, and FullyDistMultiVec< IndexType, ValueType >::size.
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.
void FullyDistMultiVec< IndexType, ValueType >::clear | ( | ) | [inline] |
Definition at line 17 of file FullyDistMultiVec.hpp.
References FullyDistMultiVec< IndexType, ValueType >::multi_vec_container, and FullyDistMultiVec< IndexType, ValueType >::size.
Referenced by FullyDistMultiVec< IndexType, ValueType >::operator=().
void FullyDistMultiVec< IndexType, ValueType >::operator= | ( | const FullyDistMultiVec< IndexType, ValueType > & | other | ) | [inline] |
Definition at line 44 of file FullyDistMultiVec.hpp.
References FullyDistMultiVec< IndexType, ValueType >::clear(), FullyDistMultiVec< IndexType, ValueType >::dim, FullyDistMultiVec< IndexType, ValueType >::multi_vec_container, and FullyDistMultiVec< IndexType, ValueType >::size.
mpi_vector_t& FullyDistMultiVec< IndexType, ValueType >::operator[] | ( | index_t | i | ) | [inline] |
Definition at line 40 of file FullyDistMultiVec.hpp.
References FullyDistMultiVec< IndexType, ValueType >::multi_vec_container.
mpi_vector_t& FullyDistMultiVec< IndexType, ValueType >::operator[] | ( | index_t | i | ) | const [inline] |
Definition at line 42 of file FullyDistMultiVec.hpp.
References FullyDistMultiVec< IndexType, ValueType >::multi_vec_container.
index_t FullyDistMultiVec< IndexType, ValueType >::dim |
Definition at line 13 of file FullyDistMultiVec.hpp.
Referenced by skylark::utility::print_t< FullyDistMultiVec< IndexType, ValueType > >::apply(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::ax_plus_by(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::get_dim(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::mat_vec(), and FullyDistMultiVec< IndexType, ValueType >::operator=().
container_t FullyDistMultiVec< IndexType, ValueType >::multi_vec_container |
index_t FullyDistMultiVec< IndexType, ValueType >::size |
Definition at line 14 of file FullyDistMultiVec.hpp.
Referenced by skylark::utility::print_t< FullyDistMultiVec< IndexType, ValueType > >::apply(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::ax_plus_by(), FullyDistMultiVec< IndexType, ValueType >::clear(), FullyDistMultiVec< IndexType, ValueType >::FullyDistMultiVec(), skylark::utility::uniform_matrix_t< FullyDistMultiVec< IndexType, ValueType > >::generate(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::get_dim(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::mat_vec(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::norm(), FullyDistMultiVec< IndexType, ValueType >::operator=(), skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::residual_norms(), and skylark::nla::iter_solver_op_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > >, FullyDistMultiVec< IndexType, ValueType > >::scale().