libMesh
Functions
std Namespace Reference

Functions

long double max (long double a, double b)
 
long double min (long double a, double b)
 
long double max (double a, long double b)
 
long double min (double a, long double b)
 
double max (double a, float b)
 
double min (double a, float b)
 
double max (float a, double b)
 
double min (float a, double b)
 
long double max (long double a, float b)
 
long double min (long double a, float b)
 
long double max (float a, long double b)
 
long double min (float a, long double b)
 
double abs (double a)
 
double pow (double a, int b)
 
template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > abs (const MetaPhysicL::DualNumber< T, D > &in)
 
template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > abs (MetaPhysicL::DualNumber< T, D > &&in)
 
template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > sqrt (const MetaPhysicL::DualNumber< T, D > &in)
 
template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > sqrt (MetaPhysicL::DualNumber< T, D > &&in)
 
template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > norm (const MetaPhysicL::DualNumber< T, D > &in)
 
template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > norm (MetaPhysicL::DualNumber< T, D > &&in)
 
template<typename T >
auto norm (const libMesh::TypeVector< T > &vector) -> decltype(std::norm(T()))
 

Function Documentation

◆ abs() [1/3]

template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > std::abs ( const MetaPhysicL::DualNumber< T, D > &  in)

◆ abs() [2/3]

template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > std::abs ( MetaPhysicL::DualNumber< T, D > &&  in)

◆ abs() [3/3]

double std::abs ( double  a)

◆ max() [1/6]

long double std::max ( long double  a,
double  b 
)

◆ max() [2/6]

long double std::max ( double  a,
long double  b 
)

Definition at line 32 of file libmesh_augment_std_namespace.h.

33 { return (a>b?a:b); }

◆ max() [3/6]

double std::max ( double  a,
float  b 
)

Definition at line 37 of file libmesh_augment_std_namespace.h.

38 { return (a>b?a:b); }

◆ max() [4/6]

double std::max ( float  a,
double  b 
)

Definition at line 42 of file libmesh_augment_std_namespace.h.

43 { return (a>b?a:b); }

◆ max() [5/6]

long double std::max ( long double  a,
float  b 
)

Definition at line 47 of file libmesh_augment_std_namespace.h.

48 { return (a>b?a:b); }

◆ max() [6/6]

long double std::max ( float  a,
long double  b 
)

Definition at line 52 of file libmesh_augment_std_namespace.h.

53 { return (a>b?a:b); }

◆ min() [1/6]

long double std::min ( long double  a,
double  b 
)

◆ min() [2/6]

long double std::min ( double  a,
long double  b 
)

Definition at line 34 of file libmesh_augment_std_namespace.h.

35 { return (a<b?a:b); }

◆ min() [3/6]

double std::min ( double  a,
float  b 
)

Definition at line 39 of file libmesh_augment_std_namespace.h.

40 { return (a<b?a:b); }

◆ min() [4/6]

double std::min ( float  a,
double  b 
)

Definition at line 44 of file libmesh_augment_std_namespace.h.

45 { return (a<b?a:b); }

◆ min() [5/6]

long double std::min ( long double  a,
float  b 
)

Definition at line 49 of file libmesh_augment_std_namespace.h.

50 { return (a<b?a:b); }

◆ min() [6/6]

long double std::min ( float  a,
long double  b 
)

Definition at line 54 of file libmesh_augment_std_namespace.h.

55 { return (a<b?a:b); }

◆ norm() [1/3]

template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > std::norm ( const MetaPhysicL::DualNumber< T, D > &  in)

◆ norm() [2/3]

template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > std::norm ( MetaPhysicL::DualNumber< T, D > &&  in)

◆ norm() [3/3]

template<typename T >
auto std::norm ( const libMesh::TypeVector< T > &  vector) -> decltype(std::norm(T()))

Definition at line 1178 of file type_vector.h.

Referenced by libMesh::TypeVector< Real >::size(), and libMesh::TypeVector< Real >::unit().

1179 {
1180  return vector.norm();
1181 }
auto norm() const -> decltype(std::norm(T()))
Definition: type_vector.h:948

◆ pow()

double std::pow ( double  a,
int  b 
)

Definition at line 66 of file libmesh_augment_std_namespace.h.

Referenced by GETPOT_NAMESPACE::GetPot::_DBE_expand(), and ShiftedGaussian::evaluate().

67 { return std::pow(a, static_cast<double>(b)); }
double pow(double a, int b)

◆ sqrt() [1/2]

template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > std::sqrt ( const MetaPhysicL::DualNumber< T, D > &  in)

◆ sqrt() [2/2]

template<typename T , typename D >
MetaPhysicL::DualNumber< T, D > std::sqrt ( MetaPhysicL::DualNumber< T, D > &&  in)