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

◆ SqrtStruct()

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

Definition at line 9 of file Sqrt.h.

9 : _(t) {}

Member Function Documentation

◆ operator double()

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

Definition at line 11 of file Sqrt.h.

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

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

◆ operator()()

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

Definition at line 10 of file Sqrt.h.

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

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

Member Data Documentation

◆ _

template<typename T >
T funct::SqrtStruct< T >::_
funct::SqrtStruct::_
T _
Definition: Sqrt.h:12
funct::sqrt
Sqrt< T >::type sqrt(const T &t)
Definition: Sqrt.h:22
OrderedSet.t
t
Definition: OrderedSet.py:90