scran_test_utils
Test utilities for libscran projects
Loading...
Searching...
No Matches
simulate_compressed_sparse_matrix.hpp File Reference

Simulate a compressed sparse matrix. More...

#include <random>
#include <vector>
#include <type_traits>
#include <cstddef>
#include "simulate_vector.hpp"

Go to the source code of this file.

Classes

struct  scran_tests::SimulateCompressedSparseMatrixParameters< Data_ >
 Parameters for simulate_compressed_sparse_matrix(). More...
 
struct  scran_tests::SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ >
 Results of simulate_compressed_sparse_matrix(). More...
 

Namespaces

namespace  scran_tests
 Test utilites for libscran.
 

Functions

template<typename Data_ = double, typename Index_ = int, typename Pointer_ = std::size_t>
SimulatedCompressedSparseMatrix< Data_, Index_, Pointer_ > scran_tests::simulate_compressed_sparse_matrix (Index_ primary, Index_ secondary, const SimulateCompressedSparseMatrixParameters< Data_ > &params)
 

Detailed Description

Simulate a compressed sparse matrix.