tatami_test
Utilities for testing tatami libraries
|
Fetch a row/column into a vector. More...
#include "tatami/base/Extractor.hpp"
#include "tatami/base/SparseRange.hpp"
#include "tatami/utils/copy.hpp"
#include <vector>
Go to the source code of this file.
Classes | |
struct | tatami_test::SparseVector< Value_, Index_ > |
Sparse vector. More... | |
Namespaces | |
namespace | tatami_test |
Utilities for testing tatami libraries. | |
Functions | |
template<typename Value_ , typename Index_ > | |
std::vector< Value_ > | tatami_test::fetch (tatami::MyopicDenseExtractor< Value_, Index_ > &ext, Index_ i, size_t number) |
template<typename Value_ , typename Index_ > | |
std::vector< Value_ > | tatami_test::fetch (tatami::OracularDenseExtractor< Value_, Index_ > &ext, size_t number) |
template<typename Value_ , typename Index_ > | |
SparseVector< Value_, Index_ > | tatami_test::fetch (tatami::MyopicSparseExtractor< Value_, Index_ > &ext, Index_ i, size_t number) |
template<typename Value_ , typename Index_ > | |
SparseVector< Value_, Index_ > | tatami_test::fetch (tatami::OracularSparseExtractor< Value_, Index_ > &ext, size_t number) |
Fetch a row/column into a vector.