1#ifndef TATAMI_ISOMETRIC_BINARY_COMPARE_HELPERS_H
2#define TATAMI_ISOMETRIC_BINARY_COMPARE_HELPERS_H
4#include "../compare_utils.hpp"
22template<CompareOperation op_>
30 op_ != CompareOperation::GREATER_THAN_OR_EQUAL &&
31 op_ != CompareOperation::LESS_THAN_OR_EQUAL);
33 static constexpr bool is_basic =
false;
42 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
45 if constexpr(std::is_same<InputValue_, OutputValue_>::value) {
54 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
58 if constexpr(std::is_same<InputValue_, OutputValue_>::value) {
67 template<
typename Index_,
typename InputValue_,
typename OutputValue_>
84 template<
typename OutputValue_,
typename InputValue_,
typename Index_>
93 bool is_sparse()
const {
Flexible representations for matrix data.
Definition Extractor.hpp:15
DelayedBinaryIsometricCompare< CompareOperation::LESS_THAN > make_DelayedBinaryIsometricLessThan()
Definition compare_helpers.hpp:121
DelayedBinaryIsometricCompare< CompareOperation::GREATER_THAN > make_DelayedBinaryIsometricGreaterThan()
Definition compare_helpers.hpp:113
DelayedBinaryIsometricCompare< CompareOperation::LESS_THAN_OR_EQUAL > make_DelayedBinaryIsometricLessThanOrEqual()
Definition compare_helpers.hpp:137
DelayedBinaryIsometricCompare< CompareOperation::NOT_EQUAL > make_DelayedBinaryIsometricNotEqual()
Definition compare_helpers.hpp:145
DelayedBinaryIsometricCompare< CompareOperation::GREATER_THAN_OR_EQUAL > make_DelayedBinaryIsometricGreaterThanOrEqual()
Definition compare_helpers.hpp:129
auto consecutive_extractor(const Matrix< Value_, Index_ > *mat, bool row, Index_ iter_start, Index_ iter_length, Args_ &&... args)
Definition consecutive_extractor.hpp:35
DelayedBinaryIsometricCompare< CompareOperation::EQUAL > make_DelayedBinaryIsometricEqual()
Definition compare_helpers.hpp:105
Delayed binary isometric comparison.
Definition compare_helpers.hpp:23
A range of a sparse vector.
Definition SparseRange.hpp:32