Grid 0.7.0
DivIntFunctor< scalar > Struct Template Reference

#include <Grid_vector_unops.h>

Public Member Functions

accelerator DivIntFunctor (Integer _y)
accelerator scalar operator() (const scalar &a) const

Data Fields

Integer y

Detailed Description

template<class scalar>
struct DivIntFunctor< scalar >

Definition at line 100 of file Grid_vector_unops.h.

Constructor & Destructor Documentation

◆ DivIntFunctor()

template<class scalar>
accelerator DivIntFunctor< scalar >::DivIntFunctor ( Integer _y)
inline

Definition at line 102 of file Grid_vector_unops.h.

References accelerator, and y.

Member Function Documentation

◆ operator()()

template<class scalar>
accelerator scalar DivIntFunctor< scalar >::operator() ( const scalar & a) const
inline

Definition at line 103 of file Grid_vector_unops.h.

References accelerator, and y.

Field Documentation

◆ y

template<class scalar>
Integer DivIntFunctor< scalar >::y

Definition at line 101 of file Grid_vector_unops.h.

Referenced by DivIntFunctor(), and operator()().


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