Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
Sacado::MP Namespace Reference

Classes

class  Vector
 
class  Expr
 
struct  ScalarTraitsImp
 
struct  ScalarTraitsImp< S, true >
 
struct  ScalarTraitsImp< S, false >
 
struct  SerializationImp
 Serialization implementation for all Vector types. More...
 
struct  SerializationTraitsImp
 Implementation of Teuchos::SerializationTraits for all Vector types. More...
 
struct  SerializationTraitsImp< Ordinal, VecType, true >
 Implementation of Teuchos::SerializationTraits for all static Vec types. More...
 
class  SerializerImp
 An indirect serialization object for all Vector types. More...
 

Functions

template<typename T >
KOKKOS_INLINE_FUNCTION bool operator! (const Expr< T > &expr)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool toBool (const Expr< T > &xx)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const Expr< T > &x)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &a, const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION bool operator! (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION bool toBool (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &x)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > 
OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a)
 
template<typename S >
KOKKOS_INLINE_FUNCTION Vector< S > copysign (const Vector< S > &a1, const Vector< S > &a2)
 
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const Expr< V > &a1, const Expr< V2 > &a2)
 
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const volatile Expr< V > &a1, const volatile Expr< V2 > &a2)
 
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const Expr< V > &a1, const volatile Expr< V2 > &a2)
 
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const volatile Expr< V > &a1, const Expr< V2 > &a2)
 
template<typename V >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const Expr< V > &a1, const typename V::value_type &a2)
 
template<typename V >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const volatile Expr< V > &a1, const typename V::value_type &a2)
 
template<typename V >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const typename V::value_type &a1, const Expr< V > &a2)
 
template<typename V >
KOKKOS_INLINE_FUNCTION Mask< V > operator OPNAME (const typename V::value_type &a1, const volatile Expr< V > &a2)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &a, const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &b)
 
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask
< Vector
< Stokhos::StaticFixedStorage
< O, T, N, D > > > 
operator OPNAME (const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &b)
 
template<typename S >
KOKKOS_INLINE_FUNCTION Mask
< Vector< S > > 
operator OPNAME (const Vector< S > &a1, const Vector< S > &a2)
 
template<typename S >
KOKKOS_INLINE_FUNCTION Mask
< Vector< S > > 
operator OPNAME (const Vector< S > &a1, const typename S::value_type &a2)
 
template<typename S >
KOKKOS_INLINE_FUNCTION Mask
< Vector< S > > 
operator OPNAME (const typename S::value_type &a1, const Vector< S > &a2)
 

Function Documentation

template<typename T >
KOKKOS_INLINE_FUNCTION bool Sacado::MP::operator! ( const Expr< T > &  expr)

Definition at line 786 of file Sacado_MP_Vector_ops.hpp.

template<typename T >
KOKKOS_INLINE_FUNCTION bool Sacado::MP::toBool ( const Expr< T > &  xx)

Definition at line 803 of file Sacado_MP_Vector_ops.hpp.

template<typename T >
std::ostream& Sacado::MP::operator<< ( std::ostream &  os,
const Expr< T > &  x 
)

Definition at line 862 of file Sacado_MP_Vector_ops.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)

Definition at line 48 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)

Definition at line 71 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)

Definition at line 94 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)

Definition at line 117 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  a,
const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)

Definition at line 140 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  a,
const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)

Definition at line 163 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  b 
)

Definition at line 186 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  b 
)

Definition at line 209 of file Sacado_MP_Vector_SFS_binary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION bool Sacado::MP::operator! ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a)

Definition at line 243 of file Sacado_MP_Vector_SFS_ops.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION bool Sacado::MP::toBool ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  x)

Definition at line 260 of file Sacado_MP_Vector_SFS_ops.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a)

Definition at line 48 of file Sacado_MP_Vector_SFS_unary_func_tmpl.hpp.

template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > Sacado::MP::OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a)

Definition at line 69 of file Sacado_MP_Vector_SFS_unary_func_tmpl.hpp.

template<typename S >
KOKKOS_INLINE_FUNCTION Vector<S> Sacado::MP::copysign ( const Vector< S > &  a1,
const Vector< S > &  a2 
)

Definition at line 788 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const Expr< V > &  a1,
const Expr< V2 > &  a2 
)
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const volatile Expr< V > &  a1,
const volatile Expr< V2 > &  a2 
)
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const Expr< V > &  a1,
const volatile Expr< V2 > &  a2 
)
template<typename V , typename V2 >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const volatile Expr< V > &  a1,
const Expr< V2 > &  a2 
)
template<typename V >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const Expr< V > &  a1,
const typename V::value_type &  a2 
)
template<typename V >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const volatile Expr< V > &  a1,
const typename V::value_type &  a2 
)
template<typename V >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const typename V::value_type &  a1,
const Expr< V > &  a2 
)
template<typename V >
KOKKOS_INLINE_FUNCTION Mask<V> Sacado::MP::operator OPNAME ( const typename V::value_type &  a1,
const volatile Expr< V > &  a2 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  a,
const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  a,
const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  b 
)
template<typename O , typename T , int N, typename D >
KOKKOS_INLINE_FUNCTION Mask< Vector< Stokhos::StaticFixedStorage<O,T,N,D> > > Sacado::MP::operator OPNAME ( const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &  a,
const typename Vector< Stokhos::StaticFixedStorage< O, T, N, D > >::value_type &  b 
)
template<typename S >
KOKKOS_INLINE_FUNCTION Mask<Vector<S> > Sacado::MP::operator OPNAME ( const Vector< S > &  a1,
const Vector< S > &  a2 
)
template<typename S >
KOKKOS_INLINE_FUNCTION Mask<Vector<S> > Sacado::MP::operator OPNAME ( const Vector< S > &  a1,
const typename S::value_type &  a2 
)
template<typename S >
KOKKOS_INLINE_FUNCTION Mask<Vector<S> > Sacado::MP::operator OPNAME ( const typename S::value_type &  a1,
const Vector< S > &  a2 
)