tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
make_Extractor.hpp File Reference

Templated construction of a new extractor. More...

Go to the source code of this file.

Namespaces

namespace  tatami
 Flexible representations for matrix data.
 

Typedefs

template<bool oracle_, typename Index_ >
using tatami::MaybeOracle = typename std::conditional<oracle_, std::shared_ptr<const Oracle<Index_> >, bool>::type
 

Functions

template<bool sparse_, bool oracle_, typename Value_ , typename Index_ >
std::unique_ptr< Extractor< sparse_, oracle_, Value_, Index_ > > tatami::make_Extractor (const Matrix< Value_, Index_ > &matrix, const bool row, MaybeOracle< oracle_, Index_ > oracle, const tatami::Options &opt)
 
template<bool sparse_, bool oracle_, typename Value_ , typename Index_ >
std::unique_ptr< Extractor< sparse_, oracle_, Value_, Index_ > > tatami::make_Extractor (const Matrix< Value_, Index_ > &matrix, const bool row, MaybeOracle< oracle_, Index_ > oracle, Index_ block_start, Index_ block_length, const tatami::Options &opt)
 
template<bool sparse_, bool oracle_, typename Value_ , typename Index_ >
std::unique_ptr< Extractor< sparse_, oracle_, Value_, Index_ > > tatami::make_Extractor (const Matrix< Value_, Index_ > &matrix, const bool row, MaybeOracle< oracle_, Index_ > oracle, VectorPtr< Index_ > indices_ptr, const tatami::Options &opt)
 

Detailed Description

Templated construction of a new extractor.