Grid 0.7.0
ModIntFunctor< scalar > Struct Template Reference

#include <Grid_vector_unops.h>

Public Member Functions

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

Data Fields

Integer y

Detailed Description

template<class scalar>
struct ModIntFunctor< scalar >

Definition at line 93 of file Grid_vector_unops.h.

Constructor & Destructor Documentation

◆ ModIntFunctor()

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

Definition at line 95 of file Grid_vector_unops.h.

References accelerator, and y.

Member Function Documentation

◆ operator()()

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

Definition at line 96 of file Grid_vector_unops.h.

References accelerator, and y.

Field Documentation

◆ y

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

Definition at line 94 of file Grid_vector_unops.h.

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


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