Jive reference manual
List of all members | Static Public Member Functions
jem::numeric::SparseSelector Class Reference

#include <jem/numeric/sparse/select.h>

Static Public Member Functions

static SparseStruct select (const SparseStruct &src, const Array< idx_t > &rowMap, const Array< idx_t > &colMap)
 
template<class T >
static SparseMatrix< T > select (const SparseMatrix< T > &src, const Array< idx_t > &rowMap, const Array< idx_t > &colMap)
 
static Array< idx_t > makeMap (idx_t size, const String &kind, const Array< idx_t > &map)
 
static Array< idx_t > makeMap (idx_t size, const String &kind, const Array< bool > &mask)
 
static Array< idx_t > makeMap (idx_t size, const String &kind, const Slice &slice)
 
static Array< idx_t > makeMap (idx_t size, const String &kind, const SliceAll &slice)
 
static Array< idx_t > makeMap (idx_t size, const String &kind, const SliceFromTo &slice)
 

Member Function Documentation

static SparseStruct jem::numeric::SparseSelector::select ( const SparseStruct &  src,
const Array< idx_t > &  rowMap,
const Array< idx_t > &  colMap 
)
static
template<class T >
static SparseMatrix<T> jem::numeric::SparseSelector::select ( const SparseMatrix< T > &  src,
const Array< idx_t > &  rowMap,
const Array< idx_t > &  colMap 
)
static
static Array<idx_t> jem::numeric::SparseSelector::makeMap ( idx_t  size,
const String kind,
const Array< idx_t > &  map 
)
static
static Array<idx_t> jem::numeric::SparseSelector::makeMap ( idx_t  size,
const String kind,
const Array< bool > &  mask 
)
static
static Array<idx_t> jem::numeric::SparseSelector::makeMap ( idx_t  size,
const String kind,
const Slice slice 
)
static
static Array<idx_t> jem::numeric::SparseSelector::makeMap ( idx_t  size,
const String kind,
const SliceAll slice 
)
static
static Array<idx_t> jem::numeric::SparseSelector::makeMap ( idx_t  size,
const String kind,
const SliceFromTo slice 
)
static