1#ifndef TATAMI_COMPARE_UTILS_HPP
2#define TATAMI_COMPARE_UTILS_HPP
21 GREATER_THAN_OR_EQUAL,
29template<CompareOperation op_,
typename Value_>
31 if constexpr(
op_ == CompareOperation::EQUAL) {
33 }
else if constexpr(
op_ == CompareOperation::GREATER_THAN) {
35 }
else if constexpr(
op_ == CompareOperation::LESS_THAN) {
37 }
else if constexpr(
op_ == CompareOperation::GREATER_THAN_OR_EQUAL) {
39 }
else if constexpr(
op_ == CompareOperation::LESS_THAN_OR_EQUAL) {
61template<SpecialCompareOperation op_,
bool pass_,
typename Value_>
63 if constexpr(
op_ == SpecialCompareOperation::ISNAN) {
65 }
else if constexpr(
op_ == SpecialCompareOperation::ISINF) {
Flexible representations for matrix data.
Definition Extractor.hpp:15
SpecialCompareOperation
Definition compare_utils.hpp:52
CompareOperation
Definition compare_utils.hpp:17
auto consecutive_extractor(const Matrix< Value_, Index_ > *mat, bool row, Index_ iter_start, Index_ iter_length, Args_ &&... args)
Definition consecutive_extractor.hpp:35