Generic Image Library: channel_multiplies_scalar_t< Channel, Scalar, ChannelResult > Struct Template Reference

###  | #  |

Public Types | Public Member Functions | List of all members
channel_multiplies_scalar_t< Channel, Scalar, ChannelResult > Struct Template Reference

Arithmetic operation of channel value by a scalar. More...

`#include <channel_numeric_operations.hpp>`

## Public Types
using | ChannelRef = typename channel_traits<Channel>::const_reference

## Public Member Functions
auto | operator() (ChannelRef channel, Scalar const &scalar) const -> ChannelResult

## Detailed Description

template<typename Channel, typename Scalar, typename ChannelResult>
struct boost::gil::channel_multiplies_scalar_t< Channel, Scalar, ChannelResult >

Arithmetic operation of channel value by a scalar.

Note
  This is a generic implementation; user should specialize it for better performance.

## Member Function Documentation

## ◆ operator()()

template<typename Channel , typename Scalar , typename ChannelResult >

auto operator() | ( | ChannelRef | channel,
|  | Scalar const & | scalar ) const -> ChannelResult
| inline

Parameters

  channel | - first of the two factors (multiplicand).
  scalar | - second of the two factors (multiplier).

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

- channel_numeric_operations.hpp