1#ifndef TATAMI_ISOMETRIC_BINARY_MOCK_HELPERS_H
2#define TATAMI_ISOMETRIC_BINARY_MOCK_HELPERS_H
5#include "../../base/SparseRange.hpp"
51 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
91 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
95 const std::vector<Index_>&
indices,
141 template<
typename OutputValue_,
typename InputValue_,
typename Index_>
228 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
269 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
273 const std::vector<Index_>&
indices,
329 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
Advanced mock operation for DelayedBinaryIsometricOperation.
Definition mock_helpers.hpp:122
void dense(bool row, Index_ i, Index_ start, Index_ length, const InputValue_ *left_buffer, const InputValue_ *right_buffer, OutputValue_ *output_buffer) const
Definition mock_helpers.hpp:229
static constexpr bool is_basic
Definition mock_helpers.hpp:150
void dense(bool row, Index_ i, const std::vector< Index_ > &indices, const InputValue_ *left_buffer, const InputValue_ *right_buffer, OutputValue_ *output_buffer) const
Definition mock_helpers.hpp:270
bool non_zero_depends_on_column() const
Definition mock_helpers.hpp:196
OutputValue_ fill(bool row, Index_ i) const
Definition mock_helpers.hpp:142
bool non_zero_depends_on_row() const
Definition mock_helpers.hpp:186
bool zero_depends_on_column() const
Definition mock_helpers.hpp:176
bool is_sparse() const
Definition mock_helpers.hpp:346
Index_ sparse(bool row, Index_ i, const SparseRange< InputValue_, Index_ > &left, const SparseRange< InputValue_, Index_ > &right, OutputValue_ *output_value, Index_ *output_index, bool report_value, bool report_index) const
Definition mock_helpers.hpp:330
bool zero_depends_on_row() const
Definition mock_helpers.hpp:162
Basic mock operation for DelayedBinaryIsometricOperation.
Definition mock_helpers.hpp:22
void dense(bool row, Index_ i, const std::vector< Index_ > &indices, const InputValue_ *left_buffer, const InputValue_ *right_buffer, OutputValue_ *output_buffer) const
Definition mock_helpers.hpp:92
static constexpr bool is_basic
Definition mock_helpers.hpp:107
void dense(bool row, Index_ i, Index_ start, Index_ length, const InputValue_ *left_buffer, const InputValue_ *right_buffer, OutputValue_ *output_buffer) const
Definition mock_helpers.hpp:52
Flexible representations for matrix data.
Definition Extractor.hpp:15
auto consecutive_extractor(const Matrix< Value_, Index_ > *mat, bool row, Index_ iter_start, Index_ iter_length, Args_ &&... args)
Definition consecutive_extractor.hpp:35
A range of a sparse vector.
Definition SparseRange.hpp:32