TuttleOFX  1
terry::numeric::channel_plus_scalar_t< Channel, Scalar, ChannelR > Struct Template Reference

#include <operations.hpp>

Public Member Functions

GIL_FORCEINLINE ChannelR operator() (typename channel_traits< Channel >::const_reference ch, const Scalar &s) const

Detailed Description

template<typename Channel, typename Scalar, typename ChannelR>
struct terry::numeric::channel_plus_scalar_t< Channel, Scalar, ChannelR >

structure for adding a scalar to a channel this is a generic implementation; user should specialize it for better performance

Definition at line 147 of file operations.hpp.


Member Function Documentation

template<typename Channel , typename Scalar , typename ChannelR >
GIL_FORCEINLINE ChannelR terry::numeric::channel_plus_scalar_t< Channel, Scalar, ChannelR >::operator() ( typename channel_traits< Channel >::const_reference  ch,
const Scalar &  s 
) const [inline]

Definition at line 149 of file operations.hpp.


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