UserFunction< Func > Class Template Reference

To construct a user function class using UserFunction, define:. More...

#include <UserFunction.h>

List of all members.

Public Member Functions

 UserFunction ()
 UserFunction (const Func &func)
template<class Init >
 UserFunction (const Init &init)
template<class I1 , class I2 >
 UserFunction (const I1 &i1, const I2 &i2)
template<class I1 , class I2 , class I3 >
 UserFunction (const I1 &i1, const I2 &i2, const I3 &i3)
template<class I1 , class I2 , class I3 , class I4 >
 UserFunction (const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4)
template<class I1 , class I2 , class I3 , class I4 , class I5 >
 UserFunction (const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5)
template<class I1 , class I2 , class I3 , class I4 , class I5 , class I6 >
 UserFunction (const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6)
template<class I1 , class I2 , class I3 , class I4 , class I5 , class I6 , class I7 >
 UserFunction (const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7)
template<int D, class T , class E >
View1< UserFunction< Func >
, Array< D, T, E > >::Type_t 
operator() (const Array< D, T, E > &expr) const
Func & function ()
const Func & function () const


Detailed Description

template<class Func>
class UserFunction< Func >

To construct a user function class using UserFunction, define:.

class MyUserFunction

Give it the member function template:

template<class T> T operator()(const T&);

The input value is an element of an array, and the output is the value from applying the user's function.

Then UserFunction<MyUserFunction> can be applied to arrays.


Constructor & Destructor Documentation

template<class Func >
UserFunction< Func >::UserFunction (  )  [inline]

template<class Func >
UserFunction< Func >::UserFunction ( const Func &  func  )  [inline]

template<class Func >
template<class Init >
UserFunction< Func >::UserFunction ( const Init &  init  )  [inline]

template<class Func >
template<class I1 , class I2 >
UserFunction< Func >::UserFunction ( const I1 &  i1,
const I2 &  i2 
) [inline]

template<class Func >
template<class I1 , class I2 , class I3 >
UserFunction< Func >::UserFunction ( const I1 &  i1,
const I2 &  i2,
const I3 &  i3 
) [inline]

template<class Func >
template<class I1 , class I2 , class I3 , class I4 >
UserFunction< Func >::UserFunction ( const I1 &  i1,
const I2 &  i2,
const I3 &  i3,
const I4 &  i4 
) [inline]

template<class Func >
template<class I1 , class I2 , class I3 , class I4 , class I5 >
UserFunction< Func >::UserFunction ( const I1 &  i1,
const I2 &  i2,
const I3 &  i3,
const I4 &  i4,
const I5 &  i5 
) [inline]

template<class Func >
template<class I1 , class I2 , class I3 , class I4 , class I5 , class I6 >
UserFunction< Func >::UserFunction ( const I1 &  i1,
const I2 &  i2,
const I3 &  i3,
const I4 &  i4,
const I5 &  i5,
const I6 &  i6 
) [inline]

template<class Func >
template<class I1 , class I2 , class I3 , class I4 , class I5 , class I6 , class I7 >
UserFunction< Func >::UserFunction ( const I1 &  i1,
const I2 &  i2,
const I3 &  i3,
const I4 &  i4,
const I5 &  i5,
const I6 &  i6,
const I7 &  i7 
) [inline]


Member Function Documentation

template<class Func >
template<int D, class T , class E >
View1<UserFunction<Func>,Array<D,T,E> >::Type_t UserFunction< Func >::operator() ( const Array< D, T, E > &  expr  )  const [inline]

template<class Func >
Func& UserFunction< Func >::function (  )  [inline]

template<class Func >
const Func& UserFunction< Func >::function (  )  const [inline]


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

Generated on Wed Mar 16 06:20:43 2011 for FreePOOMA by  doxygen 1.5.9