1#ifndef TATAMI_MULT_SPARSE_MATRIX_DENSE_ROW_DISPATCH_HPP
2#define TATAMI_MULT_SPARSE_MATRIX_DENSE_ROW_DISPATCH_HPP
9#include "../../utils.hpp"
98template<std::
size_t accumulators_ = 4,
typename LeftValue_,
typename LeftIndex_,
typename RightValue_,
typename RightIndex_,
typename Output_>
102 Output_*
const output,
103 const bool output_row_major,
107 if (output_row_major) {
114 if (output_row_major) {
virtual bool prefer_rows() const=0
Multiplication of tatami matrices.
Definition column_to_column.hpp:19
void multiply_dense_row_with_sparse_matrix(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const tatami::Matrix< RightValue_, RightIndex_ > &right, Output_ *const output, const bool output_row_major, const MultiplyDenseRowWithSparseMatrixOptions &options)
Definition dispatch.hpp:99
void multiply_dense_row_with_sparse_row_matrix_to_column_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const tatami::Matrix< RightValue_, RightIndex_ > &right, Output_ *const output, const MultiplyDenseRowWithSparseRowMatrixToColumnOutputOptions &options)
Definition row_to_column.hpp:65
void multiply_dense_row_with_sparse_row_matrix_to_row_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const tatami::Matrix< RightValue_, RightIndex_ > &right, Output_ *const output, const MultiplyDenseRowWithSparseRowMatrixToRowOutputOptions &options)
Definition row_to_row.hpp:61
void set_sparse_block_size(MultiplyWithDenseMatrixOptions &options, int block_size)
Definition dispatch.hpp:87
void multiply_dense_row_with_sparse_column_matrix_to_column_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const tatami::Matrix< RightValue_, RightIndex_ > &right, Output_ *const output, const MultiplyDenseRowWithSparseColumnMatrixToColumnOutputOptions &options)
Definition column_to_column.hpp:64
void set_num_threads(MultiplyDenseColumnWithDenseMatrixOptions &options, int num_threads)
Definition dispatch.hpp:54
void multiply_dense_row_with_sparse_column_matrix_to_row_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const tatami::Matrix< RightValue_, RightIndex_ > &right, Output_ *const output, const MultiplyDenseRowWithSparseColumnMatrixToRowOutputOptions &options)
Definition column_to_row.hpp:64
Dense row-major LHS, sparse column-major RHS, column-major output.
Dense row-major LHS, sparse column-major RHS, row-major output.
Dense row-major LHS, sparse row-major RHS, column-major output.
Dense row-major LHS, sparse row-major RHS, row-major output.
Options for multiply_dense_row_with_sparse_column_matrix_to_column_output().
Definition column_to_column.hpp:28
int block_size
Definition column_to_column.hpp:39
int num_threads
Definition column_to_column.hpp:33
Options for multiply_dense_row_with_sparse_column_matrix_to_row_output().
Definition column_to_row.hpp:28
int block_size
Definition column_to_row.hpp:39
int num_threads
Definition column_to_row.hpp:33
Options for multiply_dense_row_with_sparse_matrix().
Definition dispatch.hpp:21
MultiplyDenseRowWithSparseRowMatrixToColumnOutputOptions row_to_column
Definition dispatch.hpp:38
MultiplyDenseRowWithSparseColumnMatrixToColumnOutputOptions column_to_column
Definition dispatch.hpp:26
MultiplyDenseRowWithSparseRowMatrixToRowOutputOptions row_to_row
Definition dispatch.hpp:44
MultiplyDenseRowWithSparseColumnMatrixToRowOutputOptions column_to_row
Definition dispatch.hpp:32
Options for multiply_dense_row_with_sparse_row_matrix_to_column_output().
Definition row_to_column.hpp:27
int num_threads
Definition row_to_column.hpp:32
int block_size
Definition row_to_column.hpp:42
Options for multiply_dense_row_with_sparse_row_matrix_to_row_output().
Definition row_to_row.hpp:27
int block_size
Definition row_to_row.hpp:38
int num_threads
Definition row_to_row.hpp:32