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

Take the logarithm of a matrix entry. More...

#include <math_helpers.hpp>

Public Member Functions

 DelayedUnaryIsometricLog ()
 
 DelayedUnaryIsometricLog (Base_ base)
 

Detailed Description

template<typename InputValue_ = double, typename Base_ = InputValue_>
class tatami::DelayedUnaryIsometricLog< InputValue_, Base_ >

Take the logarithm of a matrix entry.

This class takes the logarithm of each element of a Matrix. 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
InputValue_Type of the matrix value to use in the operation.
Base_Numeric type for the log base.

Constructor & Destructor Documentation

◆ DelayedUnaryIsometricLog() [1/2]

template<typename InputValue_ = double, typename Base_ = InputValue_>
tatami::DelayedUnaryIsometricLog< InputValue_, Base_ >::DelayedUnaryIsometricLog ( )
inline

Defaults to the natural log.

◆ DelayedUnaryIsometricLog() [2/2]

template<typename InputValue_ = double, typename Base_ = InputValue_>
tatami::DelayedUnaryIsometricLog< InputValue_, Base_ >::DelayedUnaryIsometricLog ( Base_  base)
inline
Parameters
baseBase of the logarithm.

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