1#ifndef TATAMI_MULT_DENSE_MATRIX_SPARSE_ROW_DISPATCH_HPP
2#define TATAMI_MULT_DENSE_MATRIX_SPARSE_ROW_DISPATCH_HPP
9#include "../../utils.hpp"
102template<std::
size_t accumulators_ = 4,
typename LeftValue_,
typename LeftIndex_,
typename RightValue_,
typename RightIndex_,
typename Output_>
106 Output_*
const output,
107 const bool output_row_major,
111 if (output_row_major) {
118 if (output_row_major) {
virtual bool prefer_rows() const=0
Sparse row-major LHS, dense column-major RHS, column-major output.
Sparse row-major LHS, dense column-major RHS, row-major output.
Sparse row-major LHS, dense row-major RHS, column-major output.
Sparse row-major LHS, dense row-major RHS, row-major output.
Multiplication of tatami matrices.
Definition column_to_column.hpp:19
void multiply_sparse_row_with_dense_column_matrix_to_column_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const RightColumns_ right_columns, GetRightColumn_ get_right_column, Output_ *const output, const MultiplySparseRowWithDenseColumnMatrixToColumnOutputOptions &options)
Definition column_to_column.hpp:62
void multiply_sparse_row_with_dense_row_matrix_to_row_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const RightColumns_ right_columns, GetRightRow_ get_right_row, Output_ *const output, const MultiplySparseRowWithDenseRowMatrixToRowOutputOptions &options)
Definition row_to_row.hpp:54
void multiply_sparse_row_with_dense_matrix(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const tatami::Matrix< RightValue_, RightIndex_ > &right, Output_ *const output, const bool output_row_major, const MultiplySparseRowWithDenseMatrixOptions &options)
Definition dispatch.hpp:103
void multiply_sparse_row_with_dense_column_matrix_to_row_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const RightColumns_ right_columns, GetRightColumn_ get_right_column, Output_ *const output, const MultiplySparseRowWithDenseColumnMatrixToRowOutputOptions &options)
Definition column_to_row.hpp:61
void multiply_sparse_row_with_dense_row_matrix_to_column_output(const tatami::Matrix< LeftValue_, LeftIndex_ > &left, const RightColumns_ right_columns, GetRightRow_ get_right_row, Output_ *const output, const MultiplySparseRowWithDenseRowMatrixToColumnOutputOptions &options)
Definition row_to_column.hpp:66
void set_sparse_block_size(MultiplyWithDenseMatrixOptions &options, int block_size)
Definition dispatch.hpp:87
void set_num_threads(MultiplyDenseColumnWithDenseMatrixOptions &options, int num_threads)
Definition dispatch.hpp:54
Options for multiply_sparse_row_with_dense_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_sparse_row_with_dense_column_matrix_to_row_output().
Definition column_to_row.hpp:27
int block_size
Definition column_to_row.hpp:38
int num_threads
Definition column_to_row.hpp:32
Options for multiply_sparse_row_with_dense_matrix().
Definition dispatch.hpp:21
MultiplySparseRowWithDenseColumnMatrixToRowOutputOptions column_to_row
Definition dispatch.hpp:32
MultiplySparseRowWithDenseRowMatrixToColumnOutputOptions row_to_column
Definition dispatch.hpp:38
MultiplySparseRowWithDenseRowMatrixToRowOutputOptions row_to_row
Definition dispatch.hpp:44
MultiplySparseRowWithDenseColumnMatrixToColumnOutputOptions column_to_column
Definition dispatch.hpp:26
Options for multiply_sparse_row_with_dense_row_matrix_to_column_output().
Definition row_to_column.hpp:28
int block_size
Definition row_to_column.hpp:44
int num_threads
Definition row_to_column.hpp:33
Options for multiply_sparse_row_with_dense_row_matrix_to_row_output().
Definition row_to_row.hpp:28
int num_threads
Definition row_to_row.hpp:33