https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Functions
Eigen::internal Namespace Reference

Classes

struct  cast_impl< ADReal, int >
 
struct  gebp_kernel< ADReal, ADReal, Index, DataMapper, 1, 1, ConjugateLhs, ConjugateRhs >
 
class  gebp_traits< ADReal, ADReal, false, false >
 Override number traits for the ADReal type used in libEigen calculations. More...
 

Functions

template<typename V , typename D , bool asd>
bool isinf_impl (const MetaPhysicL::DualNumber< V, D, asd > &a)
 
template<typename V , typename D , bool asd>
bool isnan_impl (const MetaPhysicL::DualNumber< V, D, asd > &a)
 
template<typename V , typename D , bool asd>
MetaPhysicL::DualNumber< V, D, asd > sqrt (const MetaPhysicL::DualNumber< V, D, asd > &a)
 
template<typename V , typename D , bool asd>
MetaPhysicL::DualNumber< V, D, asd > abs (const MetaPhysicL::DualNumber< V, D, asd > &a)
 
template<>
EIGEN_DEVICE_FUNC long double cast< ADReal, long double > (const ADReal &x)
 
template<>
EIGEN_DEVICE_FUNC double cast< ADReal, double > (const ADReal &x)
 
template<>
EIGEN_DEVICE_FUNC long cast< ADReal, long > (const ADReal &x)
 
template<>
EIGEN_DEVICE_FUNC int cast< ADReal, int > (const ADReal &x)
 

Function Documentation

◆ abs()

template<typename V , typename D , bool asd>
MetaPhysicL::DualNumber< V, D, asd > Eigen::internal::abs ( const MetaPhysicL::DualNumber< V, D, asd > &  a)
inline

Definition at line 50 of file EigenADReal.h.

51{
52#if METAPHYSICL_MAJOR_VERSION < 2
53 return std::abs(a);
54#else
55 return MetaPhysicL::abs(a);
56#endif
57}

◆ cast< ADReal, double >()

template<>
EIGEN_DEVICE_FUNC double Eigen::internal::cast< ADReal, double > ( const ADReal x)
inline

Definition at line 164 of file EigenADReal.h.

166{
167 return MetaPhysicL::raw_value(x);
168}
auto raw_value(const Eigen::Map< T > &in)

◆ cast< ADReal, int >()

template<>
EIGEN_DEVICE_FUNC int Eigen::internal::cast< ADReal, int > ( const ADReal x)
inline

Definition at line 178 of file EigenADReal.h.

180{
181 return MetaPhysicL::raw_value(x);
182}

◆ cast< ADReal, long >()

template<>
EIGEN_DEVICE_FUNC long Eigen::internal::cast< ADReal, long > ( const ADReal x)
inline

Definition at line 171 of file EigenADReal.h.

173{
174 return MetaPhysicL::raw_value(x);
175}

◆ cast< ADReal, long double >()

template<>
EIGEN_DEVICE_FUNC long double Eigen::internal::cast< ADReal, long double > ( const ADReal x)
inline

Definition at line 157 of file EigenADReal.h.

159{
160 return MetaPhysicL::raw_value(x);
161}

◆ isinf_impl()

template<typename V , typename D , bool asd>
bool Eigen::internal::isinf_impl ( const MetaPhysicL::DualNumber< V, D, asd > &  a)
inline

Definition at line 23 of file EigenADReal.h.

24{
25 using std::isinf;
26 return isinf(a);
27}

◆ isnan_impl()

template<typename V , typename D , bool asd>
bool Eigen::internal::isnan_impl ( const MetaPhysicL::DualNumber< V, D, asd > &  a)
inline

Definition at line 31 of file EigenADReal.h.

32{
33 using std::isnan;
34 return isnan(a);
35}

◆ sqrt()

template<typename V , typename D , bool asd>
MetaPhysicL::DualNumber< V, D, asd > Eigen::internal::sqrt ( const MetaPhysicL::DualNumber< V, D, asd > &  a)
inline

Definition at line 39 of file EigenADReal.h.

40{
41#if METAPHYSICL_MAJOR_VERSION < 2
42 return std::sqrt(a);
43#else
44 return MetaPhysicL::sqrt(a);
45#endif
46}