|
OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include "FixedAlgebra/FTps.h"#include "Utilities/DomainError.h"#include <complex>#include <type_traits>

Go to the source code of this file.
Classes | |
| struct | is_complex< T > |
| struct | is_complex< std::complex< T > > |
Functions | |
| template<class T , int N> | |
| FTps< T, N > | pow (const FTps< T, N > &x, int y, int trunc=(FTps< T, N >::EXACT)) |
| Tps x to the power (int y). More... | |
| template<class T , int N> | |
| FTps< T, N > | sqrt (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Square root. More... | |
| template<class T , int N> | |
| FTps< T, N > | sin (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Sine. More... | |
| template<class T , int N> | |
| FTps< T, N > | cos (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Cosine. More... | |
| template<class T , int N> | |
| FTps< T, N > | tan (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Tangent. More... | |
| template<class T , int N> | |
| FTps< T, N > | cot (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Cotangent. More... | |
| template<class T , int N> | |
| FTps< T, N > | sec (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Secant. More... | |
| template<class T , int N> | |
| FTps< T, N > | csc (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Cosecant. More... | |
| template<class T , int N> | |
| FTps< T, N > | exp (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Exponential. More... | |
| template<class T , int N> | |
| FTps< T, N > | log (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Natural logarithm. More... | |
| template<class T , int N> | |
| FTps< T, N > | sinh (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Hyperbolic sine. More... | |
| template<class T , int N> | |
| FTps< T, N > | cosh (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Hyperbolic cosine. More... | |
| template<class T , int N> | |
| FTps< T, N > | tanh (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Hyperbolic tangent. More... | |
| template<class T , int N> | |
| FTps< T, N > | coth (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Hyperbolic cotangent. More... | |
| template<class T , int N> | |
| FTps< T, N > | sech (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Hyperbolic secant. More... | |
| template<class T , int N> | |
| FTps< T, N > | csch (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Hyperbolic cosecant. More... | |
| template<class T , int N> | |
| FTps< T, N > | erf (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Error function. More... | |
| template<class T , int N> | |
| FTps< T, N > | erfc (const FTps< T, N > &x, int trunc=(FTps< T, N >::EXACT)) |
| Complementary error function. More... | |
| FTps< T, N > cos | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Cosine.
Definition at line 191 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), sin(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by cot(), sec(), sin(), and tan().

| FTps< T, N > cosh | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Hyperbolic cosine.
Definition at line 324 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), sinh(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by coth(), sech(), sinh(), and tanh().

| FTps< T, N > cot | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Cotangent.
Definition at line 222 of file FTpsMath.h.
References cos(), FTps< T, N >::getMinOrder(), sin(), and Attrib::Legacy::Distribution::T.

| FTps< T, N > coth | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Hyperbolic cotangent.
Definition at line 355 of file FTpsMath.h.
References cosh(), FTps< T, N >::getMinOrder(), sinh(), and Attrib::Legacy::Distribution::T.

| FTps< T, N > csc | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Cosecant.
Definition at line 241 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), sin(), and Attrib::Legacy::Distribution::T.

| FTps< T, N > csch | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Hyperbolic cosecant.
Definition at line 374 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), sinh(), and Attrib::Legacy::Distribution::T.

| FTps< T, N > erf | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Error function.
Definition at line 385 of file FTpsMath.h.
References exp(), FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), real(), sqrt(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by SpecializedGreensFunction< 3 >::calculate(), erfc(), Util::erfinv(), ApplyField< T >::operator()(), and matheval::detail::grammar< real_t, Iterator >::ufunc_::ufunc_().

| FTps< T, N > erfc | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Complementary error function.
Definition at line 414 of file FTpsMath.h.
References erf(), and Attrib::Legacy::Distribution::T.
Referenced by matheval::detail::grammar< real_t, Iterator >::ufunc_::ufunc_().

| FTps< T, N > exp | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Exponential.
Definition at line 252 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by erf().

| FTps< T, N > log | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Natural logarithm.
Definition at line 274 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().

| FTps< T, N > pow | ( | const FTps< T, N > & | x, |
| int | y, | ||
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Tps x to the power (int y).
Definition at line 118 of file FTpsMath.h.
References FTps< T, N >::getMinOrder(), FTps< T, N >::inverse(), FTps< T, N >::multiply(), and Attrib::Legacy::Distribution::T.

| FTps< T, N > sec | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Secant.
Definition at line 233 of file FTpsMath.h.
References cos().

| FTps< T, N > sech | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Hyperbolic secant.
Definition at line 366 of file FTpsMath.h.
References cosh().

| FTps< T, N > sin | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Sine.
Definition at line 168 of file FTpsMath.h.
References cos(), FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by cos(), cot(), csc(), and tan().

| FTps< T, N > sinh | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Hyperbolic sine.
Definition at line 301 of file FTpsMath.h.
References cosh(), FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), min(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by cosh(), coth(), csch(), and tanh().

| FTps< T, N > sqrt | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |
Square root.
Definition at line 137 of file FTpsMath.h.
References endl(), FTps< T, N >::getMinOrder(), FTps< T, N >::getTruncOrder(), imag(), min(), real(), Attrib::Legacy::Distribution::T, and FTps< T, N >::taylor().
Referenced by erf().

| FTps< T, N > tan | ( | const FTps< T, N > & | x, |
| int | trunc = (FTps<T, N>::EXACT) |
||
| ) |