tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tatami::DelayedUnaryIsometricCompareScalar< op_, InputValue_ > Class Template Reference

Delayed scalar comparison. More...

#include <compare_helpers.hpp>

Public Member Functions

 DelayedUnaryIsometricCompareScalar (InputValue_ scalar)
 

Detailed Description

template<CompareOperation op_, typename InputValue_>
class tatami::DelayedUnaryIsometricCompareScalar< op_, InputValue_ >

Delayed scalar comparison.

This class compares each element of a Matrix to a scalar. It should be used as the Operation_ in the DelayedUnaryIsometricOperation class. It may be used regardless of whether InputValue_ and OutputValue_ are equal (or not).

Template Parameters
op_The comparison operation.
InputValue_Type of the matrix value to use in the comparison.

Constructor & Destructor Documentation

◆ DelayedUnaryIsometricCompareScalar()

tatami::DelayedUnaryIsometricCompareScalar< op_, InputValue_ >::DelayedUnaryIsometricCompareScalar ( InputValue_  scalar)
inline
Parameters
scalarScalar to be compared to the matrix values. The matrix value is assumed to be on the left hand side of the comparison, while scalar is on the right.

The documentation for this class was generated from the following file: