CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::SqrtStruct< T > Struct Template Reference

#include <Sqrt.h>

List of all members.

Public Member Functions

 operator double () const
double operator() () const
 SqrtStruct (const T &t)

Public Attributes

T _

Detailed Description

template<typename T>
struct funct::SqrtStruct< T >

Definition at line 8 of file Sqrt.h.


Constructor & Destructor Documentation

template<typename T >
funct::SqrtStruct< T >::SqrtStruct ( const T t) [inline]

Definition at line 9 of file Sqrt.h.

: _(t) { }

Member Function Documentation

template<typename T >
funct::SqrtStruct< T >::operator double ( ) const [inline]

Definition at line 11 of file Sqrt.h.

References funct::SqrtStruct< T >::_, and funct::sqrt().

{ return ::sqrt(_()); }
template<typename T >
double funct::SqrtStruct< T >::operator() ( ) const [inline]

Definition at line 10 of file Sqrt.h.

References funct::SqrtStruct< T >::_, and funct::sqrt().

{ return ::sqrt(_()); }

Member Data Documentation

template<typename T >
T funct::SqrtStruct< T >::_