Skylark (Sketching Library)  0.1
Classes | Functions
skylark::utility Namespace Reference

Classes

struct  standard_levy_distribution_t
struct  rademacher_distribution_t
struct  uniform_distribution_t
struct  uniform_distribution_t< double >
struct  uniform_distribution_t< int >
struct  uniform_distribution_t< size_t >
struct  uniform_distribution_t< bool >
struct  empty_matrix_t
struct  empty_matrix_t< FullyDistVec< IndexType, ValueType > >
struct  empty_matrix_t< FullyDistMultiVec< IndexType, ValueType > >
struct  empty_matrix_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > > >
struct  empty_matrix_t< elem::Matrix< ValueType > >
struct  empty_matrix_t< elem::DistMatrix< ValueType, CD, RD > >
struct  print_t
struct  print_t< elem::Matrix< ValueType > >
struct  print_t< elem::DistMatrix< ValueType, CD, RD > >
struct  print_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > > >
struct  print_t< FullyDistVec< IndexType, ValueType > >
struct  print_t< FullyDistMultiVec< IndexType, ValueType > >
struct  uniform_matrix_t
struct  uniform_matrix_t< FullyDistVec< IndexType, ValueType > >
struct  uniform_matrix_t< FullyDistMultiVec< IndexType, ValueType > >
struct  uniform_matrix_t< SpParMat< IndexType, ValueType, SpDCCols< IndexType, ValueType > > >
struct  uniform_matrix_t< elem::Matrix< ValueType > >
struct  uniform_matrix_t< elem::DistMatrix< ValueType, CD, RD > >
struct  random_samples_array_t
struct  random_array_t
struct  typer_t

Functions

template<typename T >
void collect_dist_matrix (boost::mpi::communicator &comm, bool here, const elem::DistMatrix< T > &DA, elem::Matrix< T > &A)
template<typename T , elem::Distribution RowDist>
void collect_dist_matrix (boost::mpi::communicator &comm, bool here, const elem::DistMatrix< T, RowDist, elem::STAR > &DA, elem::Matrix< T > &A)
template<typename T , elem::Distribution ColDist>
void collect_dist_matrix (boost::mpi::communicator &comm, bool here, const elem::DistMatrix< T, elem::STAR, ColDist > &DA, elem::Matrix< T > &A)
template<typename T >
mpi::communicator get_communicator (const base::sparse_matrix_t< T > &A, mpi::comm_create_kind kind=mpi::comm_attach)
template<typename T >
mpi::communicator get_communicator (const elem::Matrix< T > &A, mpi::comm_create_kind kind=mpi::comm_attach)
template<typename T , elem::Distribution U, elem::Distribution V>
mpi::communicator get_communicator (const elem::DistMatrix< T, U, V > &A, mpi::comm_create_kind kind=mpi::comm_attach)
template<typename IT , typename T , typename S >
mpi::communicator get_communicator (const SpParMat< IT, T, S > &A, mpi::comm_create_kind kind=mpi::comm_attach)
bool compatible (const mpi::communicator &comm_A, const mpi::communicator &comm_B)

Function Documentation

template<typename T >
void skylark::utility::collect_dist_matrix ( boost::mpi::communicator &  comm,
bool  here,
const elem::DistMatrix< T > &  DA,
elem::Matrix< T > &  A 
)

Definition at line 12 of file comm.hpp.

References SKYLARK_THROW_EXCEPTION.

template<typename T , elem::Distribution RowDist>
void skylark::utility::collect_dist_matrix ( boost::mpi::communicator &  comm,
bool  here,
const elem::DistMatrix< T, RowDist, elem::STAR > &  DA,
elem::Matrix< T > &  A 
)

Definition at line 35 of file comm.hpp.

References SKYLARK_THROW_EXCEPTION.

template<typename T , elem::Distribution ColDist>
void skylark::utility::collect_dist_matrix ( boost::mpi::communicator &  comm,
bool  here,
const elem::DistMatrix< T, elem::STAR, ColDist > &  DA,
elem::Matrix< T > &  A 
)

Definition at line 73 of file comm.hpp.

References SKYLARK_THROW_EXCEPTION.

bool skylark::utility::compatible ( const mpi::communicator &  comm_A,
const mpi::communicator &  comm_B 
)

Utility routine checking if the argument boost MPI communicators are either identical or congruent and returns true in this case; returns false otherwise.

Definition at line 66 of file get_communicator.hpp.

template<typename T >
mpi::communicator skylark::utility::get_communicator ( const base::sparse_matrix_t< T > &  A,
mpi::comm_create_kind  kind = mpi::comm_attach 
)

Definition at line 28 of file get_communicator.hpp.

template<typename T >
mpi::communicator skylark::utility::get_communicator ( const elem::Matrix< T > &  A,
mpi::comm_create_kind  kind = mpi::comm_attach 
)

Definition at line 36 of file get_communicator.hpp.

template<typename T , elem::Distribution U, elem::Distribution V>
mpi::communicator skylark::utility::get_communicator ( const elem::DistMatrix< T, U, V > &  A,
mpi::comm_create_kind  kind = mpi::comm_attach 
)

Definition at line 42 of file get_communicator.hpp.

template<typename IT , typename T , typename S >
mpi::communicator skylark::utility::get_communicator ( const SpParMat< IT, T, S > &  A,
mpi::comm_create_kind  kind = mpi::comm_attach 
)

Definition at line 53 of file get_communicator.hpp.