STK++ 0.9.13
STK::DivisionWithOp< Type > Struct Template Reference

Template functor to divide a number by a fixed value. More...

#include <STK_Functors.h>

Inheritance diagram for STK::DivisionWithOp< Type >:
Inheritance graph

Public Types

enum  { NbParam_ = 1 }
 
typedef Type result_type
 
typedef hidden::RemoveConst< Type >::Type param1_type
 

Public Member Functions

 DivisionWithOp (param1_type const &value)
 

Detailed Description

template<typename Type>
struct STK::DivisionWithOp< Type >

Template functor to divide a number by a fixed value.

This functor is used to implement the quotient of a matrix by a number where the number type is not necessarily a floating point type.

Definition at line 629 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<typename Type >
typedef hidden::RemoveConst<Type>::Type STK::DivisionWithOp< Type >::param1_type

Definition at line 633 of file STK_Functors.h.

◆ result_type

template<typename Type >
typedef Type STK::DivisionWithOp< Type >::result_type

Definition at line 632 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 631 of file STK_Functors.h.

Constructor & Destructor Documentation

◆ DivisionWithOp()

template<typename Type >
STK::DivisionWithOp< Type >::DivisionWithOp ( param1_type const value)
inline

Definition at line 635 of file STK_Functors.h.

635: DivisionWithBaseOp<Type, hidden::IsInt<Type>::yes >(value) {}

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