CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::SqrtStruct< T > Struct Template Reference

#include <Sqrt.h>

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.

9 : _(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().

11 { return ::sqrt(_()); }
Sqrt< T >::type sqrt(const T &t)
Definition: Sqrt.h:22
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().

10 { return ::sqrt(_()); }
Sqrt< T >::type sqrt(const T &t)
Definition: Sqrt.h:22

Member Data Documentation

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