Loading...
Searching...
No Matches
SymEngine::EvaluateDouble< T > Class Template Reference

Evaluate functions with double precision. More...

+ Inheritance diagram for SymEngine::EvaluateDouble< T >:
+ Collaboration diagram for SymEngine::EvaluateDouble< T >:

Private Member Functions

virtual RCP< const Basicsin (const Basic &x) const override
 
virtual RCP< const Basiccos (const Basic &x) const override
 
virtual RCP< const Basictan (const Basic &x) const override
 
virtual RCP< const Basiccot (const Basic &x) const override
 
virtual RCP< const Basicsec (const Basic &x) const override
 
virtual RCP< const Basiccsc (const Basic &x) const override
 
virtual RCP< const Basicatan (const Basic &x) const override
 
virtual RCP< const Basicacot (const Basic &x) const override
 
virtual RCP< const Basicsinh (const Basic &x) const override
 
virtual RCP< const Basiccsch (const Basic &x) const override
 
virtual RCP< const Basiccosh (const Basic &x) const override
 
virtual RCP< const Basicsech (const Basic &x) const override
 
virtual RCP< const Basictanh (const Basic &x) const override
 
virtual RCP< const Basiccoth (const Basic &x) const override
 
virtual RCP< const Basicasinh (const Basic &x) const override
 
virtual RCP< const Basicacsch (const Basic &x) const override
 
virtual RCP< const Basicabs (const Basic &x) const override
 
virtual RCP< const Basicexp (const Basic &x) const override
 

Additional Inherited Members

- Public Member Functions inherited from SymEngine::Evaluate
virtual RCP< const Basicsin (const Basic &) const =0
 
virtual RCP< const Basiccos (const Basic &) const =0
 
virtual RCP< const Basictan (const Basic &) const =0
 
virtual RCP< const Basiccot (const Basic &) const =0
 
virtual RCP< const Basicsec (const Basic &) const =0
 
virtual RCP< const Basiccsc (const Basic &) const =0
 
virtual RCP< const Basicasin (const Basic &) const =0
 
virtual RCP< const Basicacos (const Basic &) const =0
 
virtual RCP< const Basicatan (const Basic &) const =0
 
virtual RCP< const Basicacot (const Basic &) const =0
 
virtual RCP< const Basicasec (const Basic &) const =0
 
virtual RCP< const Basicacsc (const Basic &) const =0
 
virtual RCP< const Basicsinh (const Basic &) const =0
 
virtual RCP< const Basiccsch (const Basic &) const =0
 
virtual RCP< const Basiccosh (const Basic &) const =0
 
virtual RCP< const Basicsech (const Basic &) const =0
 
virtual RCP< const Basictanh (const Basic &) const =0
 
virtual RCP< const Basiccoth (const Basic &) const =0
 
virtual RCP< const Basicasinh (const Basic &) const =0
 
virtual RCP< const Basicacsch (const Basic &) const =0
 
virtual RCP< const Basicacosh (const Basic &) const =0
 
virtual RCP< const Basicatanh (const Basic &) const =0
 
virtual RCP< const Basicacoth (const Basic &) const =0
 
virtual RCP< const Basicasech (const Basic &) const =0
 
virtual RCP< const Basiclog (const Basic &) const =0
 
virtual RCP< const Basicgamma (const Basic &) const =0
 
virtual RCP< const Basicabs (const Basic &) const =0
 
virtual RCP< const Basicexp (const Basic &) const =0
 
virtual RCP< const Basicfloor (const Basic &) const =0
 
virtual RCP< const Basicceiling (const Basic &) const =0
 
virtual RCP< const Basictruncate (const Basic &) const =0
 
virtual RCP< const Basicerf (const Basic &) const =0
 
virtual RCP< const Basicerfc (const Basic &) const =0
 

Detailed Description

template<class T>
class SymEngine::EvaluateDouble< T >

Evaluate functions with double precision.

Definition at line 60 of file real_double.cpp.

Member Function Documentation

◆ abs()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::abs ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 142 of file real_double.cpp.

143 {
144 SYMENGINE_ASSERT(is_a<T>(x))
145 return number(std::abs(down_cast<const T &>(x).i));
146 }

◆ acot()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::acot ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 97 of file real_double.cpp.

98 {
99 SYMENGINE_ASSERT(is_a<T>(x))
100 return number(std::atan(1.0 / down_cast<const T &>(x).i));
101 }
T atan(T... args)

◆ acsch()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::acsch ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 137 of file real_double.cpp.

138 {
139 SYMENGINE_ASSERT(is_a<T>(x))
140 return number(std::asinh(1.0 / down_cast<const T &>(x).i));
141 }
T asinh(T... args)

◆ asinh()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::asinh ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 132 of file real_double.cpp.

133 {
134 SYMENGINE_ASSERT(is_a<T>(x))
135 return number(std::asinh(down_cast<const T &>(x).i));
136 }

◆ atan()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::atan ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 92 of file real_double.cpp.

93 {
94 SYMENGINE_ASSERT(is_a<T>(x))
95 return number(std::atan(down_cast<const T &>(x).i));
96 }

◆ cos()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::cos ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 67 of file real_double.cpp.

68 {
69 SYMENGINE_ASSERT(is_a<T>(x))
70 return number(std::cos(down_cast<const T &>(x).i));
71 }
T cos(T... args)

◆ cosh()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::cosh ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 112 of file real_double.cpp.

113 {
114 SYMENGINE_ASSERT(is_a<T>(x))
115 return number(std::cosh(down_cast<const T &>(x).i));
116 }
T cosh(T... args)

◆ cot()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::cot ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 77 of file real_double.cpp.

78 {
79 SYMENGINE_ASSERT(is_a<T>(x))
80 return number(1.0 / std::tan(down_cast<const T &>(x).i));
81 }
T tan(T... args)

◆ coth()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::coth ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 127 of file real_double.cpp.

128 {
129 SYMENGINE_ASSERT(is_a<T>(x))
130 return number(1.0 / std::tanh(down_cast<const T &>(x).i));
131 }
T tanh(T... args)

◆ csc()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::csc ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 87 of file real_double.cpp.

88 {
89 SYMENGINE_ASSERT(is_a<T>(x))
90 return number(1.0 / std::sin(down_cast<const T &>(x).i));
91 }
T sin(T... args)

◆ csch()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::csch ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 107 of file real_double.cpp.

108 {
109 SYMENGINE_ASSERT(is_a<T>(x))
110 return number(1.0 / std::sinh(down_cast<const T &>(x).i));
111 }
T sinh(T... args)

◆ exp()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::exp ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 147 of file real_double.cpp.

148 {
149 SYMENGINE_ASSERT(is_a<T>(x))
150 return number(std::exp(down_cast<const T &>(x).i));
151 }
T exp(T... args)

◆ sec()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::sec ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 82 of file real_double.cpp.

83 {
84 SYMENGINE_ASSERT(is_a<T>(x))
85 return number(1.0 / std::cos(down_cast<const T &>(x).i));
86 }

◆ sech()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::sech ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 117 of file real_double.cpp.

118 {
119 SYMENGINE_ASSERT(is_a<T>(x))
120 return number(1.0 / std::cosh(down_cast<const T &>(x).i));
121 }

◆ sin()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::sin ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 62 of file real_double.cpp.

63 {
64 SYMENGINE_ASSERT(is_a<T>(x))
65 return number(std::sin(down_cast<const T &>(x).i));
66 }

◆ sinh()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::sinh ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 102 of file real_double.cpp.

103 {
104 SYMENGINE_ASSERT(is_a<T>(x))
105 return number(std::sinh(down_cast<const T &>(x).i));
106 }

◆ tan()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::tan ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 72 of file real_double.cpp.

73 {
74 SYMENGINE_ASSERT(is_a<T>(x))
75 return number(std::tan(down_cast<const T &>(x).i));
76 }

◆ tanh()

template<class T >
virtual RCP< const Basic > SymEngine::EvaluateDouble< T >::tanh ( const Basic x) const
inlineoverrideprivatevirtual

Implements SymEngine::Evaluate.

Definition at line 122 of file real_double.cpp.

123 {
124 SYMENGINE_ASSERT(is_a<T>(x))
125 return number(std::tanh(down_cast<const T &>(x).i));
126 }

The documentation for this class was generated from the following file: