tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
arithmetic_helpers.hpp File Reference

Helper classes for delayed unary isometric arithmetic. More...

Go to the source code of this file.

Classes

class  tatami::DelayedUnaryIsometricArithmeticScalarHelper< op_, right_, OutputValue_, InputValue_, Index_, Scalar_ >
 Helper for delayed unary isometric scalar arithmetic. More...
 
class  tatami::DelayedUnaryIsometricArithmeticVectorHelper< op_, right_, OutputValue_, InputValue_, Index_, Vector_ >
 Helper for delayed unary isometric vector arithmetic. More...
 

Namespaces

namespace  tatami
 Flexible representations for matrix data.
 

Typedefs

template<typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricAddScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::ADD, true, OutputValue_, InputValue_, Index_, Scalar_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricSubtractScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::SUBTRACT, right_, OutputValue_, InputValue_, Index_, Scalar_>
 
template<typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricMultiplyScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::MULTIPLY, true, OutputValue_, InputValue_, Index_, Scalar_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricDivideScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::DIVIDE, right_, OutputValue_, InputValue_, Index_, Scalar_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricPowerScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::POWER, right_, OutputValue_, InputValue_, Index_, Scalar_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricModuloScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::MODULO, right_, OutputValue_, InputValue_, Index_, Scalar_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Scalar_ >
using tatami::DelayedUnaryIsometricIntegerDivideScalarHelper = DelayedUnaryIsometricArithmeticScalarHelper<ArithmeticOperation::INTEGER_DIVIDE, right_, OutputValue_, InputValue_, Index_, Scalar_>
 
template<typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricAddVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::ADD, true, OutputValue_, InputValue_, Index_, Vector_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricSubtractVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::SUBTRACT, right_, OutputValue_, InputValue_, Index_, Vector_>
 
template<typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricMultiplyVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::MULTIPLY, true, OutputValue_, InputValue_, Index_, Vector_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricDivideVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::DIVIDE, right_, OutputValue_, InputValue_, Index_, Vector_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricPowerVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::POWER, right_, OutputValue_, InputValue_, Index_, Vector_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricModuloVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::MODULO, right_, OutputValue_, InputValue_, Index_, Vector_>
 
template<bool right_, typename OutputValue_ , typename InputValue_ , typename Index_ , typename Vector_ >
using tatami::DelayedUnaryIsometricIntegerDivideVectorHelper = DelayedUnaryIsometricArithmeticVectorHelper<ArithmeticOperation::INTEGER_DIVIDE, right_, OutputValue_, InputValue_, Index_, Vector_>
 

Detailed Description

Helper classes for delayed unary isometric arithmetic.