CMS 3D CMS Logo

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

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 mathSSE::sqrt().

11 { return ::sqrt(_()); }
T sqrt(T t)
Definition: SSEVec.h:48
template<typename T >
double funct::SqrtStruct< T >::operator() ( ) const
inline

Definition at line 10 of file Sqrt.h.

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

10 { return ::sqrt(_()); }
T sqrt(T t)
Definition: SSEVec.h:48

Member Data Documentation

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