MADNESS 0.10.1
|
#include <macrotaskpartitioner.h>
Public Member Functions | |
Batch_1D () | |
Batch_1D (const long &begin, const long &end) | |
Batch_1D (const Slice &s) | |
template<typename tupleT , std::size_t appearance> | |
tupleT | copy_batch (const tupleT &arg) const |
select the relevant vector elements from the argument tuple | |
template<typename vecT > | |
vecT | copy_batch (const vecT v) const |
given vector v, return those vector elements inside this batch | |
template<typename vecT > | |
vecT | insert_batch (vecT v, const vecT &v_batch) const |
given vector v, copy vector elements of v_batch into vector | |
bool | is_full_size () const |
bool | operator== (const Batch_1D &other) const |
long | size () const |
Public Attributes | |
long | begin =0 |
long | end =-1 |
first and first past last index [begin,end) | |
Friends | |
class | MacroTaskPartitioner |
std::ostream & | operator<< (std::ostream &os, const Batch_1D &batch) |
|
inline |
|
inline |
References MADNESS_CHECK.
select the relevant vector elements from the argument tuple
References madness::arg(), copy_batch(), is_full_size(), MADNESS_CHECK, madness::nonlinear_vector_solver(), and v.
Referenced by copy_batch().
given vector v, return those vector elements inside this batch
References begin, end, madness::nonlinear_vector_solver(), and v.
given vector v, copy vector elements of v_batch into vector
References begin, madness::nonlinear_vector_solver(), and v.
Referenced by madness::Batch::insert_result_batch().
|
inline |
References begin, end, and madness::nonlinear_vector_solver().
Referenced by copy_batch().
|
inline |
Referenced by madness::MP3::MacroTaskMP3::operator()(), and madness::Batch::size_of_input().
|
friend |
long madness::Batch_1D::begin =0 |
Referenced by copy_batch(), insert_batch(), is_full_size(), madness::MP3::MacroTaskMP3::operator()(), operator==(), and size().
long madness::Batch_1D::end =-1 |
first and first past last index [begin,end)
Referenced by copy_batch(), is_full_size(), operator==(), and size().