CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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

◆ SqrtStruct()

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

Definition at line 9 of file Sqrt.h.

Member Function Documentation

◆ operator double()

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

◆ operator()()

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 >::_