scran_test_utils
Test utilities for libscran projects
Loading...
Searching...
No Matches
scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ > Struct Template Reference

Results of simulate_compressed_sparse_matrix(). More...

#include <simulate_compressed_sparse_matrix.hpp>

Public Attributes

Index_ primary
 
Index_ secondary
 
std::vector< Data_ > data
 
std::vector< Index_ > index
 
std::vector< Pointer_ > pointers
 

Detailed Description

template<typename Data_, typename Index_, typename Pointer_>
struct scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >

Results of simulate_compressed_sparse_matrix().

Template Parameters
Data_Numeric type of the data.
Index_Integer type of the indices.
Pointer_Integer type of the compressed sparse pointers.

Member Data Documentation

◆ data

template<typename Data_ , typename Index_ , typename Pointer_ >
std::vector<Data_> scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >::data

Values of the structural non-zero elements.

◆ index

template<typename Data_ , typename Index_ , typename Pointer_ >
std::vector<Index_> scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >::index

Indices of the structural non-zero elements, along the secondary dimension.

◆ pointers

template<typename Data_ , typename Index_ , typename Pointer_ >
std::vector<Pointer_> scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >::pointers

Pointers specifying the first and last non-zero element for each primary dimension element.

◆ primary

template<typename Data_ , typename Index_ , typename Pointer_ >
Index_ scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >::primary

Extent of the primary dimension.

◆ secondary

template<typename Data_ , typename Index_ , typename Pointer_ >
Index_ scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >::secondary

Extent of the secondary dimension.


The documentation for this struct was generated from the following file: